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

XPButton_SetImageMargin

Previous pageReturn to chapter overviewNext page

 

Description

 

Sets the image margin in pixels

 

Syntax

 

lretCode = XPButton_SetImageMargin(hwnd, ctrlID, Margin [, Redraw])

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier

Margin

Number

No

Margin (in pixels)

Redraw

Number

Yes

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

 

Remarks

 

Restrictions

 

See also

 

Examples