Tab Strip OCX

dexterdancel

New Member
I'm a newbie in PROGRESS programming and I wish to use tab strip OCX but I can't move from one tab to another.I need help on this. thank you.
 
Tab Strip example

Hi there,

Please see attached for Progress V9 - MS Tab control V6.

I'll explain principals in case you don't have the same versions of Progress or tab strip control.
  • Drag and drop Microsoft Tabstrip on to page
  • Create a frame for every tab, e.g. frTab1, frTab2, frTab3 - Make sure they are the same size and EXACT same coordinates. The princinpal is that as you clock on each tab you bring the required frame to the foreground and if one is slightly smaller you'll also see parts of the other one.
  • In the properties of the tabstrip (rdoublemouse click the OCX) and in properties add each of your tab descriptions.
  • Add a new OCX'Click event to the tab strip and on the trigger code add something like the following
ASSIGN vTabStripPage = COM-SELF:SelectedItem:INDEX .

CASE vTabStripPage :

WHEN 1 THEN FRAME frTab1:MOVE-TO-TOP().
WHEN 2 THEN FRAME frTab2:MOVE-TO-TOP().
WHEN 3 THEN FRAME frTab3:MOVE-TO-TOP().

END CASE .
  • To ensure that the first tab is always displayed when you go in then in the main block (or local-initialsie) for smart objects then put :-
frTab1:MOVE-TO-TOP().


If you have any probs. please get back.
 

Attachments

If you have not already done so you should click on the "reputation" icon in the upper right hand corner of the useful post ;)
 
Back
Top