which is more efficient?
- Posted by Judith Evans <camping at txcyber.com> Mar 07, 2003
- 578 views
I have to change text on many controls on more than one window. I know when I need to make the text change in another window, WindowN. Which is the better approach: to have global ids and use setText() as needed from a routine in WindowN or ids not global but have a global routine in each affected window that does the setText() which are referenced from WindowN? Also how do I change the text of a top level menu? setText() does not work unless there is something I need to do after that statement. I've tried repaintWindow. --judith