Regardless of the page you are on when you save it, if you assign a componentID 
to the Tab Control, the Property ActivePageIndex will select that tab when 
executed anytime from the OnAfter EEP...

eg:  PROPERTY Component_ID_Of_TabControl activepageindex '0' placed in the 
OnAfterStart EEP will display the first tab of the Tab Control...  Reiterating 
that the ComponentID of the TabControl should be used, NOT the ComponentID of 
the Page on the TabControl....


----- Original Message ----- 
From: "Robert Rugilo" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Thursday, July 28, 2005 7:58 PM
Subject: [RBG7-L] - RE: Enhanced Tab Question


Just before you save the form, go to the page that should be shown , then
save the form.


Robert Rugilo

-------Original Message-------

From: John Docherty
Date: 07/27/05 18:03:51
To: RBG7-L Mailing List
Subject: [RBG7-L] - RE: Enhanced Tab Question

Larry,

I am not sure if this will help with 7.5, but I had this problem a while ago
in 7.1 - the solution then, courtesy of Dawn Oakes, was as follows:-

Set an AFTER START EEP as follows

PROPERTY formname ACTIVEPAGEINDEX 0, as you have done, but also

make sure the formname component id is the id for the Enhanced Tab Control,
not the page itself.

Regards

John Docherty



-----Original Message-----
From: [email protected] [mailto:[email protected]";>mailto:[email protected]
>[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Wilson
Sent: Thursday, 28 July 2005 9:37 a.m.
To: RBG7-L Mailing List
Subject: [RBG7-L] - Enhanced Tab Question

Hello List:

Using the latest 7.5 update 12

I have and enhanced tab form with five 5 tabs. The problem that I am having
is that the forms opens on the last tab that I saved when in define mode.

I have an on after start custom action with the following commands

    PROPERTY main_tab ACTIVEPAGEINDEX '0'
    PROPERTY start_page0 CAPTION 'New Policy Information'
    PROPERTY DB_policy_no SET_FOCUS 'TRUE'

The caption option works as it should and the form open on the 1st page then
the set focus option works.

It does not matter how I enter the form it starts on the last tab that I
saved the form in the define mode.


I have an older version of the form in 7.1 and it works as it should, but
since I have made several design changes in 7.5 I can not display the form
in 7.1

What am I missing ?

TIA

Larry

Reply via email to