on 12-16-2014 5:16 PM
I given the following command
this.tab_1,selecttab(2)
this.tab_1.setfocus()
But it does not work. Any help appreciated
Thanks
Pol
Following on from Arnd's great suggestion, what is the return value of the SelectTab call? ie does it indicate that it actually has succeeded?
Also, are you playing around with redraw at all? Probably unlikely, but if redraw is turned off you may not see the tab as being selected until redraw is turned back on.
Good luck.
Nathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If this happens in the open event of a window, try to post this functions or do a yield() before.
Tip:
Declare a user event ue_postopen() in the window and do a post ue_postopen() in the open event.
In the ue_postopen() write your selecttab() and setfocus().
hth
Arnd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.