Options

Which tab is active?

EddieEddie Member Posts: 26
Hi, everybody

I've got a simple question. How can I know which tab, for exaple on the customer card is active? Is it General tab or Communication, or Invoicing... Which one? THX

Comments

  • Options
    IvoSIvoS Member Posts: 7
    Here is a trick you can use:
    - define a global variable nActiveTab [Integer]
    - on every tab choose the first field and put a line
    nActiveTab := x;
    
    in it's OnActivate trigger (where x is 1,2,3...)
    - if you want to select a tab you can use a line
    CurrForm.FieldName.ACTIVATE;
    
    where FieldName is a field name form a tab you want to select
Sign In or Register to comment.