XPButton_SetToggle

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UIAdv (Advanced User Interface module) > XPBUTTON Control >

XPButton_SetToggle

 

Description

 

Sets button to toggle state (%TRUE) or to pushbutton state (%FALSE).

 

Syntax

 

lretCode = XPButton_SetToggle(hwnd, ctrlID, lToggle [, Redraw])

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier

lToggle

Number

No

Toggle state (%TRUE or %FALSE)

Redraw

Number

Yes

%TRUE or %FALSE to force a redraw of the control

 

Remarks

 

Restrictions

 

See also

 

Examples