SET_SCROLLPANE_BACKGROUNDCOLOR
|
Syntax: |
SET_SCROLLPANE_BACKGROUNDCOLOR(<Handle>,<Number
of Component>,<Red>,<Green>,<Blue>,<Red-2>,<Green-2>,<Blue-2>,<Direction>)
|
||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||
|
Meaning: |
Sets
the background of a component of a Scrollpane. If
<Red-2> >= 0 and <Green-2> >= 0 and <Blue-2> >= 0
a color gradient from
<Red>,<Green>,<Blue> to
<Red-2>,<Green-2>,<Blue-2> is created, otherwise the
background color <Red>,<Green>,<Blue> si set. If
one of the colors <Red>,<Green>,<Blue> is < 0 the
background of the component is deleted. If
one of the colors <Rot-2>,<Grün-2>,<Blau-2> is < 0 an
existing color gradient is deleted. SET_SCROLLPANE_BACKGROUNDCOLOR
returns -1 if the Scrollpane specified by <Handle> does not exist
otherwise 1 is returned. |
||||||||||||||||||||||||||||||||||||||||
|
Parameter: |
|
||||||||||||||||||||||||||||||||||||||||
|
Sample: |
HANDLE% = SCROLLPANE(3,3,10,40,2,20,3,0) H% = SET_SCROLLPANE_BACKGROUNDCOLOR(HANDLE%,0,255,255,255,192,192,192,0) H% = SET_SCROLLPANE_BACKGROUNDCOLOR(HANDLE%,1,196,196,255,-1,-1,-1,-1) H% = SET_SCROLLPANE_BACKGROUNDCOLOR(HANDLE%,2,255,196,196,-1,-1,-1,-1) |
||||||||||||||||||||||||||||||||||||||||
|
See also: |
|
||||||||||||||||||||||||||||||||||||||||