Navigation  without Java Scripts

New predicate in the TabDLG package: tabdlg_SetState

procedure tabdlg_SetState(WINDOW Parent,TABDLG_ENABLE_LIST StateList) - (i,i)      

Sets for the specified Parent window style flags given in the list StateList.

Attribute

Description

Parent a handle of a parent window for a tab control
StateList a list of  terms for setting Enabled/Disabled and Visible/Invisible flags in the controls of a tab control.
Remarks

It is recommended to use this predicate instead of dialog_SetState and win_SetState, when it is necessary to  handle controls in inactive sheets correctly.

The predicate is supplied beginning with Visual Prolog 5.1, build 565.

Example

See example in ...\VPI\TOOLEXAM\TABDLG.