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

XPButton_SetImagePos

Previous pageReturn to chapter overviewNext page

 

Description

 

Sets the position of the image.

 

Syntax

 

lretCode = XPButton_SetImagePos(hwnd, ctrlID, Position [, Redraw])

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier

Position

Number

No

Use one or more of the following equates:

%XPBUTTON_LEFT

%XPBUTTON_RIGHT

%XPBUTTON_CENTER

%XPBUTTON_VCENTER

%XPBUTTON_TOP

%XPBUTTON_BOTTOM

%XPBUTTON_ABOVE

%XPBUTTON_BELOW

%XPBUTTON_CENTERCENTER

Redraw

Number

Yes

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

 

Remarks

 

Restrictions

 

See also

 

Examples