OraFormsTabSelect Function

Action

Activates a tab page.

Include file

OraForms.bdh

Syntax

OraFormsTabSelect(  in sName  :  string,
                    in sTab   : string , 
                    in nIndex :  number optional ) : boolean;

Return value

  • true if successful
  • false otherwise
Parameter Description
sName The tab control's unique name.
sTab Specifies the tab sheet to be selected. If this parameter is set to NULL the index of the tab sheet as specified in the next parameter will be taken.
nIndex The index of the tab sheet to be selected. The index will be used whenever the sLabel parameter is set to NULL.

Example

transaction TMain 
  var 
    sValue :  string; 
  begin 
    OraFormsSetConnectMode(ORA_SOCKET_CONNECTION); 
    // Connect - with connection properties 
    OraFormsSetInt( "INITIAL_VERSION", 608); 
    OraFormsSetPoint( "INITIAL_RESOLUTION", 96,  96); 
    OraFormsSetPoint( "INITIAL_DISP_SIZE", 1024,  768); 
    OraFormsSetInt( "INITIAL_COLOR_DEPTH", 256); 
    OraFormsSetString( "FONT_NAME" , "Dialog" ); 
    OraFormsSetPoint( "INITIAL_SCALE_INFO", 8,  18); 
    OraFormsSetBoolean( "WINSYS_REQUIREDVA_LIST",  false); 
    OraFormsConnect( "server module=Person3.fmx userid= useSDI=yes record=names"); 
    OraFormsSetWindow( "Logon"); 
    OraFormsLogon( "user",  "password",  "orcl_server"); 
    OraFormsTabSelect( "FIRST_TAB",  "", 1); 
  end  TMain;