WireLess Studio Widgets Developer's Guide
WSWDG Contents → WStWidget class reference

WStWidget class

This class allows the customization of the widgets created using WStFactory class.

WStWidget methods

The following table shows list of available methods for class WStWidget, also shows the widgets supported by each method.

  Widgets
Methods WS_BUTTON WS_LABEL WS_CHECKBOX WS_BITMAP WS_PROGRESS_BAR WS_FIELD WS_RADIO_BUTTON WS_MENU WS_LIST_CTRL WS_HTML_CTRL WS_LINE
AddColumn                 X    
AddOption               X      
AddRow                 X    
ChangeMenuType               X      
ClearColumns                      
ClearOptions               X      
ClearRows                 X    
DeleteRow                 X    
DisplayBatteryLifePercent   X                  
DisplayCurrentTime   X                  
Enable X X X   X X X X X X  
EnableAutoComplete               X      
EnableFlatStyle X             X      
EnableSoftTrigger*                      
EnableSubmitMode X   X     X X X X    
EnableTabStop X   X     X X X X X  
GetHeight X X X X X X X X X X X
GetItemCount               X X    
GetLastBarcodeType           X          
GetLastClickEventType                 X    
GetLastInputType           X          
GetOption               X      
GetRowText                 X    
GetSelectedItem               X X    
GetState     X       X        
GetText X X X X X X X X X X X
GetWidth X X X X X X X X X X X
GetXCoord X X X X X X X X X X X
GetYCoord X X X X X X X X X X X
ModifyDisplayMode           X          
ModifyInputDevices           X          
ModifyInputMode           X          
ModifyLenCtrlMode           X          
ModifyStyle     X       X        
ReadRowsFromFile                 X    
SetBackGroundColor X X X X X X X X X   X
SetBarColor         X            
SetBarPosition         X            
SetFont X X X   X X X X X    
SetGroupId             X        
SetIcon X                    
SetImageFile       X              
SetKeyboardMode           X          
SetLineWidth                     X
SetLoadMode                 X    
SetMaxLength           X          
SetOrientation                     X
SetPosition X X X X X X X X X X X
SetRange         X            
SetRowBackgroundColor                 X    
SetRowIcon                 X    
SetRowText                 X    
SetScannerConfigFile           X          
SetSelectedItem               X X    
SetSelectedVisibleItem                 X    
SetSize X X X X X X X X X X X
SetSortMode                 X    
SetState     X       X        
SetStep         X            
SetText X X X X X X X X X X X
SetTextColor X X X   X X X X X   X
SetUrlAddress                   X  
Show X X X X X X X X X X X
ShowBorder X X X X X X X X X X X
Step         X            

* Only supported by the widget WS_SCANNER_CONTROLLER