WireLess Studio Widgets Developer's Guide |
This method shows or hides a thin-line border on a specific widget.
VARIANT_BOOL ShowBorderByName(LPCTSTR sObjectName, VARIANT_BOOL bShow);
VARIANT_BOOL ShowBorderById(SHORT usObjectId, VARIANT_BOOL bShow);
On success, ShowBorder returns TRUE, FALSE otherwise. To get extended information, call WStError::GetLastErrorCode.
By default the border is shown in almost all the supported widgets. The exception are: WS_LABEL, WS_CHECKBOX, WS_RADIO_BUTTON and WS_LINE .
using WirelessStudioOleWidgets; WStWidget oWidget = new WStWidget(); /* Using a previously created widget */ short iButtonId = 77; oWidget.ShowBorderById(iButtonId, False);
Public wsWidget As New WStWidget Public wsFactory As New WStFactory ... 'Label Test 3: Border and Courier New font wsFactory.CreateCustomFont 1, 17, FALSE, FALSE, FALSE, "Courier New", WS_CENTER wsWidget.SetFontByName "labelTest3", 1 wsWidget.ShowBorderByName "labelTest3", TRUE ...
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 |