Navigation:  thinBasic Modules > UI (User Interface) > DIALOGSs >

DIALOG SET GRADIENT

Previous pageReturn to chapter overviewNext page

 

Description

 

Fill the dialog client area with a gradient background.

 

Syntax

 

DIALOG SET GRADIENT hwnd, GradientType, StartColor, EndCOlor

 

Returns

 

None

 

Parameters

 

Name

Type

Optional

Meaning

hwnd

Number

No

Handle of the dialog

GradientType

Number

No

Use one of the following equates:

%GRADIENT_FILL_RECT_V from top to bottom

%GRADIENT_FILL_RECT_H from left to right

StartColor

Number

No

Starting color. Use RGB function for easy setup.

EndColor

Number

No

Ending color. Use RGB function for easy setup.

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com