Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » TextBoxBase Class Collapse All
Subject Author Date
Paddy Jul 17, 2010 - 2:03 AM

Hi:


If I use the Visual Basic TextBoxBase class, I can access the .SelectAll member for TextBox and MaskedTextBox without an issue.  However, if I try to do the same thing with your control, I am unable to access the .SelectAll() member.


Any ideas?

Thanks!

Technical Support Jul 19, 2010 - 7:44 AM

We have a bit different class hierarchy in Elegant Ui: ComboBox and NumericUpDown controls are also inherited from TextBoxBase class and it makes no sense for the latter two to have this method. Alternatively you can access this functionality as follows:

Elegant.Ui.TextBoxBase myTextBoxBase = new Elegant.Ui.TextBox();
........
myTextBoxBase.TextEditor.SelectAll();