|
|
WireLess Studio Widgets Developer's Guide |
|
Enables the auto complete feature on a WS_MENU using the menu type WS_COMBO_BOX_MENU_TYPE.
VARIANT_BOOL EnableAutoCompleteByName(LPCTSTR sObjectName, VARIANT_BOOL bEnable);
VARIANT_BOOL EnableAutoCompleteById(SHORT usObjectId, VARIANT_BOOL bEnable);
EnableAutoComplete returns TRUE on success, FALSE otherwise. To get extended information, call WStError::GetLastErrorCode.
Public wsWidget As New WStWidget Public wsFactory As New WStFactory ... Case "enableAutoCompleteCheckBox" If wsForm.GetLastEventIntValue() = WS_STATE_CHECKED Then wsWidget.EnableAutoCompleteByName "comboBoxMenu", True Else wsWidget.EnableAutoCompleteByName "comboBoxMenu", False End If ...
WStWiget class reference | WStForm class reference | WStFactory class reference | WStError class reference
| WireLess Studio by SofToGo S.A. | Visit our site www.softogo.com | Contact us help@softogo.com |