Tom

I'm using 7.6 and it is in my RDocs.  This works for me: 

Tab control component id is TabControl1, and it has four tab pages. 

On a button, I have an eep that does this:

PROPERTY TabControl1 ACTIVEPAGEINDEX '1'

Which when pressed, takes the user to the second tab page (remember the 
numbers start at zero.)  You need to use the component ID of the tab 
control itself, not the tab page.

It works for GETPROPERTY as well:

GETPROPERTY TabControl1 ACTIVEPAGEINDEX  'vpageindex'
  SWITCH (.vpageindx)
    CASE 0
      --- do what you need if the user is on the first page
      BREAK
    CASE 1
      -- user is on second page, do whatever......
      BREAK
...

  ENDSW

Dawn



[email protected] wrote on 06/11/2010 09:54:45 AM:

> "Tom Frederick" <[email protected]> 
> Sent by: [email protected]
> 
> 06/11/2010 09:55 AM
> 
> Please respond to
> [email protected]
> 
> To
> 
> [email protected] (RBASE-L Mailing List)
> 
> cc
> 
> Subject
> 
> [RBASE-L] - Re: Jump Tabs within EEP
> 
> Dawn,
> I use property commands all the time. The only reference I can find 
> about ACTIVEPAGEINDEX is in the list of reserved names and some old 
> newsgroups messages. It is not in RDocs or the online Property 
> version. RSTYLE will bold the name so it is an active reserve name 
> but no noticeable action occurs when run. Tab pages and fields have 
> separate component IDs while ?nn? is set to ?0? or 0. Using v9 with 
> latest.  Thanks.
> 
> Tom Frederick
> President/CEO
> Elm City Center
> 1314 W Walnut
> Jacksonville, IL  62650
> W- 217-245-9504
> F - 217-245-2350
> E - [email protected]
> 
> 
> From: [email protected] [mailto:[email protected]] On Behalf Of 
> [email protected]
> Sent: Thursday, June 10, 2010 3:41 PM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - Re: Jump Tabs within EEP
> 
> PROPERTY <Component ID> ACTIVEPAGEINDEX 'nn', where nn is the page 
> number (first one is zero). 
> 
> Dawn
> 
> Dawn Hast | Evergreen Packaging | 175 Main Street, Canton, NC  28716
> | Office (828) 646-2669 | Cell  (828) 246-8543 | [email protected]
> 
> 
> 
> [email protected] wrote on 06/10/2010 04:36:46 PM:
> 
> > "Tom Frederick" <[email protected]> 
> > Sent by: [email protected]
> > 
> > 06/10/2010 04:38 PM 
> > 
> > Please respond to
> > [email protected] 
> > 
> > To 
> > 
> > [email protected] (RBASE-L Mailing List) 
> > 
> > cc 
> > 
> > Subject 
> > 
> > [RBASE-L] - Jump Tabs within EEP 
> > 
> > Got a 3 tab form. Each tab has a note and other things. On Exit, the
> > EEP checks if the notes are filled in. If not, the missing notes 
> > turn red, beep sounds, and a quick message pops up. Have several 
> > users who get lost because the missing note might be on Page 0 and 
> > they are on Page 2 so they do not see the red note. They get 
> > frustrated. I would like to have Exit check the notes and 
> > automatically jump to the page that has the empty note so they can 
> > see the red note and fix the missing info. Apparently checking two 
> > tabs is a bit too much for them. I have tried Goto, Skip, and 
> > several Property commands. So far no luck automatically moving to 
> > the page with missing info.  This is probably is simple item but I 
> > am not seeing it. 
> > 
> > Tom Frederick 
> > President/CEO 
> > Elm City Center 
> > 1314 W Walnut 
> > Jacksonville, IL  62650 
> > W- 217-245-9504 
> > F - 217-245-2350 
> > E - [email protected] 
> > 
> DISCLAIMER:  This electronic message together with any attachments 
> is confidential.  If you are not the intended recipient, do not 
> copy, disclose or use the contents in any way.  Please also advise 
> us by return e-mail that you have received the message and then 
> please destroy.  Evergreen Packaging is not responsible for any 
> changes made to this message and / or any attachments after sending 
> by Evergreen Packaging.  We use virus scanning software but exclude 
> all liability for viruses or anything similar in this email or any 
attachment.
DISCLAIMER: This electronic message together with any attachments is 
confidential. If you are not the intended recipient, do not copy, disclose or 
use the contents in any way. Please also advise us by return e-mail that you 
have received the message and then please destroy. Evergreen Packaging is not 
responsible for any changes made to this message and / or any attachments after 
sending by Evergreen Packaging. We use virus scanning software but exclude all 
liability for viruses or anything similar in this email or any attachment.

Reply via email to