WireLess Studio Widgets Developer's Guide |
Sets the step increment on a WS_PROGRESS_BAR widget.
VARIANT_BOOL SetStepByName(LPCTSTR sObjectName, LONG lStep);
VARIANT_BOOL SetStepById(SHORT usObjectId, LONG lStep);
On success, SetStep returns TRUE, FALSE otherwise. To get extended information, call WStError::GetLastErrorCode.
The default step increment is 1.
using WirelessStudioOleWidgets; WStWidget oWidget = new WStWidget(); WStFactory oFactory = new WStFactory(); short iProgressBarId = 22; oFactory .CreateWidgetById((short)WSTFactoryConstants.WS_PROGRESS_BAR, iProgressBarId, "", 0,0, 50, 50, ""); oWidget.SetStepById(iProgressBarId, 11);
Public wsWidget As New WStWidget ... wsWidget.SetRangeByName "progBar", 0, 50 wsWidget.SetStepByName "progBar", 1 ...
Step | SetRange | SetBarColor | SetBarPosition
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 |