Read/get and set value of a form control?
Posted: Sat Jun 16, 2007 3:00 am
I briefly looked over the documentation for .NET and the sample for SharpDevelop.
I see that you can find form controls by name, etc. But can you read or get the default value or the list of values in a form control like a textbox, listbox, etc.?
And can you set the value of a form control like set a listbox to one of its prefined values in list (after reading the list of values) instead of sending up/down arrow keystrokes to select it in a manual GUI-wise fashion.
It would be nice if there are such features. If they exist already, can someone provide examples? Thanks.
I see that you can find form controls by name, etc. But can you read or get the default value or the list of values in a form control like a textbox, listbox, etc.?
And can you set the value of a form control like set a listbox to one of its prefined values in list (after reading the list of values) instead of sending up/down arrow keystrokes to select it in a manual GUI-wise fashion.
It would be nice if there are such features. If they exist already, can someone provide examples? Thanks.