Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I have a "smart" editor in my application and a drop down should come down whenever a specific word comes up. How do I get the point object or position of the caret so I can launch the context menu? Thanks!
Take a look at richTextBox.CaretPosition.GetCharacterRect(LogicalDirection.Forward). This should give you a Rect indicating the position just forward of the caret. Relative to the RichTextBox.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 days ago.
Improve this question
multiline screen
A user cannot copy these lines and paste them in the same order. all it allows them is copy a line at a time. Please advise a way to achieve this
I am not a web person - i'm looking out for a solution/any advise on how this can be achieved.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Been searching for hours and I can't seem to find a solution on this. I'd like to set my button to fixed even when the form is on scroll. Can anyone help?
Are you using a FlowLayoutPanel in your form for scrolling? More information would help us help you. So would adding some code snippets.
For the time being, have you considered putting the button above (or below, or to the side, or wherever you want it to be fixed) the scrollable component in your app? That way, it remains in the spot you want it while scrolling occurs in the scrollable area?
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
got stuck in here every time i try to click the EditTool
Click-Me
Looks like BossSnNumUD Has Minimum And Maximum Values so when you do
you are setting the value to 0 ,and ArgumentOutOfRangeExeption is thrown .
Because it's out of the range.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I'm attempting to add a Context Menu option to PowerPoint 2010 that only appears when text is selected. Unfortunately the WindowBeforeRightClick event does not seem to fire if the mouse is inside of a TextBox.
Is there a different event I need to be listening to or a better way to add that context menu?
According to the first answer on this Forum-Thread this is an issue that is known to Microsoft, but has not yet been fixed.
We are experiencing the same issue here.
Our current work-around is to use the WindowSelectionChange-Event. However, this will only work if you want to ensure that a TextBox has to be selected, as the SelectionChange-Event will only fire when you select a new shape.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I am trying to implement a CheckBox ComboBox. I followed this link as a reference
http://www.codeproject.com/Articles/31105/A-ComboBox-with-a-CheckedListBox-as-a-Dropdown?msg=4152597#xx4152597xx
But there are some problems with this example.
1) After the drop-down list is shown, the very first mouse single-click to change the selected item's check-status always fails to do so, but succeeding single-clicks are fine. It seems the very first single-click is swallowed. I did some trace works but failed to find an answer.
2) The form loses focus when the list opens.