How to take the index continuously in RichTextbox...
I want to focus the element in the RichTextbox but not continuosly,whe n new line encounters it will leave 4 numbers
eg: if i start with index zero in RichTextbox upto 47 it is takings numbers continuosly after 47 newline will start and in next line instead of starting with 48 it will starts with 52....
(pls help me)
thank yo...
User Profile
Collapse
-
How to take the index continuously in RichTextbox...
-
In textbox hide property option is not there
thsnk you -
How to get the focus on 2 textboxes on one click
I have 2 textboxes,when i click on the
items in the Treeview i want text
to be highlighted from both textboxes -
how to fire the SelectItemChanged event only once
when i click the treeview items if its a first parent node then selectItemChang ed event works fine...
if it is child then it will repeat the selectItemchang ed event till the ancestor ....
thank you -
example code:
Code:private void selected(object sender, RoutedPropertyChangedEventArgs<object> e) { TreeViewItem t; t = (TreeViewItem)tvMain.SelectedItem; MessageBox.Show(t + " "); StackPanel s = (StackPanel)t.Header; List<TextBlock> l = new List<TextBlock>(4);
Last edited by zmbd; Apr 22 '15, 12:31 PM. Reason: [z{You MUST use the code format for posted script - site rules. :) }]Leave a comment:
-
how to focus the text in the textbox
I have an SlectedIemchang ed event in the treeview...
when i select item it should call the got focus function for particular selected item...
thank you
No activity results to display
Show More
Leave a comment: