Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Re: gettingstarted Digest, Vol 11, Issue 3 (Real Studio getting started Mailinglist archive)

Back to the thread list
Previous thread: [RB List] Pragma Directives
Next thread: RegEx and variables


Re: gettingstarted Digest, Vol 11, Issue 3   -   Cary Davids

Re: gettingstarted Digest, Vol 11, Issue 3
Date: 02.02.05 23:05 (Wed, 2 Feb 2005 16:05:53 -0600)
From: Cary Davids
> Subject: Getting Tab Panel Tab Index
> From: Chuck Pelto <<email address removed>>
> Date: Wed, 2 Feb 2005 10:48:36 -0700
>
> Greetings,
>
> Trying to get the index value of a tab when it is selected.
>
> Here's the code I'm using....
>
> dim tbIndex as integer
>
> tbIndex = tbPrefs.Index // where tbPrefs is the name of the tab panel
> in the modal window being worked in
>
> What I'm getting is -213943233134 in tbIndex after that call.
>
> What's going worng?
>
> Thanks,
>
> Chuck
>
Hi Chuck - try tbIndex = tbPrefs.value
since Tab Panels are subclassed from PagePanels, and the relevant
Property there is value.

Cary Davids
Argonne National Laboratory

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>