Skip to Content
author's profile photo Former Member
Former Member

to get selectionchanged into tabpage 2

I given the following command

this.tab_1,selecttab(2)

this.tab_1.setfocus()

But it does not work. Any help appreciated

Thanks

Pol

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 16, 2014 at 05:35 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 16, 2014 at 10:33 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.