I have a textbox and a link button.
When I write some text, then select some of them and then click the link button, selected text from textbox must be show with a messagebox.
How can I do it?
...
Hi!
I have a simple grouped UITableView fed from a couple of arrays.
Changing the selected text color is no issue, using the cell.selectedTextColor method.
But this results in the same color being applied no matter which cell I select. I would, for example, want the text in cell 2 to turn green upon selection, while the text of all th...
Hi all. I have a TextBox with a ContextMenu in it. When the user right clicks inside the TextBox and chooses the appropriate MenuItem, I would like to grab the SelectedText in my viewmodel. I have not found a good way to do this the "MVVM" way.
So far I have my appliction utilizing Josh Smith's way of MVVM. I am looking to tranfer...
I am trying to figure out the best way to select all the text in a TextBox the first time the control is loaded. I am using the MVVM pattern, so I am using two-way binding for the Text property of the TextBox to a string on my ViewModel. I am using this TextBox to "rename" something that already has a name, so I would like to select the ...
Hi,
I have a cocoa application, that on pressing a certain key gets selected text from the frontmost application and processes it. Now I'd like to replace the selection that it took with a processed text. How do I do it?
TIA
...
Hi all,
I'm trying to highlight the selected text contents by the user inside the HTML page I loaded using PHP + XSL transformation.
I have seen some solutions related with highlighting current selected text, but I need to save some information to the database that makes me able to highlight the same contents for future loads of the sam...
My WPF ComboBox contains only text entries. The user will select one. What is the simplest way to get the text of the selected ComboBoxItem? Please answer in both C# and Visual Basic. Here is my ComboBox:
<ComboBox Name="cboPickOne">
<ComboBoxItem>This</ComboBoxItem>
<ComboBoxItem>should be</ComboBoxItem>
<ComboBoxItem>easie...
I have HTML which looks something like this:
<span id="text">
<span class="segment" id="first">some text</span>
<span class="segment" id="sec">bla bla</span>
</span>
and when user selects something, I want to identify which elements he had selected.
If, for example, user had selected "text bl" I need both "first" and "sec" elements...