J
James Palmer
Guest
Dileep Dasa , it is a text widget. You can't reference it using its name, you have to walk the widget tree to find the handle. jasdeep , walking the widget tree is well documented. Essentially you pass it the handle to a frame, and then use the properties of that handle to traverse through all the objects parented to that frame until you get to the widget you want. As far as I remember, for a text object, the screen-value of the handle is the text that is displayed, you can test for that. But seriously, it's a lot of overhead just to hide a bit of text! One thing I've done in the past for screens that I want to manipulate at run time is to walk the widget tree at the load of the screen and place all the handles into a temp table. It's usually quicker to then scan the temp table for what I want rather than walking the tree each time.
Continue reading...
Continue reading...