|
|
WireLess Studio Widgets Developer's Guide |
|
This method specifies if a widget can receive the keyboard focus when the user presses the TAB key.
VARIANT_BOOL EnableTabStopById(SHORT usObjectId, VARIANT_BOOL bEnable);
VARIANT_BOOL EnableTabStopByName(LPCTSTR sObjectName, VARIANT_BOOL bEnable);
On success, EnableTabStop returns TRUE, FALSE otherwise. To get extended information, call WStError::GetLastErrorCode.
using WirelessStudioOleWidgets; WStWidget oWidget = new WStWidget(); WStFactory oFactory = new WStFactory(); short iFieldId = 33; oFactory.CreateWidgetById((short)WSTFactoryConstants.WS_FIELD, iFieldId, "", 0,0, 50, 50, "123"); oWidget.EnableTabStopById(iFieldId, false);
Public wsWidget As New WStWidget ... wsWidget.EnableTabStopByName "exitButton", False wsWidget.EnableTabStopByName "resetButton", False ...
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 |