Hello, I was trying to program a certain behaviour for an Entry widget, by adding event handlers for the TextInserted and FocusInEvent events. In both cases, I wanted to move the caret position and select a certain character. I used the Entry.Position=pos and Entry.SelectRegion(pos, pos+1) to select the wanted character. I know that the position I gave is OK and lies within the range of text. However, it simply doesn't work. Should there be some kind of setting I need to do before it can work? Or perhaps some kind of default handler is overriding these specific operations I do in my code? Please help me with this one (It is used to create a formatted field, I know many people can benefit from it :-) )
Itai. _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
