SET_SPLIT_WINDOW_HEADER
|
Syntax: |
SET_SPLIT_WINDOW_HEADER(<Split Handle>,
<Text>, <Image Name>, <Font Name>, <Font Height>,
<Font Style>, <Height of Header>, <Text Alignment>,
<Image Alignment>, <Red-1>, <Green-1>, <Blue-1>,
<Red-2>, <Green-2>, <Blue-2>, <Direction> [,<Macroname>])
|
||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||
|
Meaning: |
Creates a header line in a split window. In the header line a text or/and an image
(button for closing the split window) can be displayed. The position of <Text> and <Image
Name> is specified by the parameters <Text Alignment> and <Image
Alignment>.
The colors <Red-1>, <Green-1>,
<Blue-1>, <Red-2>, <Green-2> and <Blue-2> define the
background color gradient of the header line. If one of the colors
<Red-2>, <Green-2> or <Blue-2> <= 0, the background
color of the header line is specified by <Red-1>, <Green-1> and
<Blue-1>. The
instructions SPLIT_HEADER_BACKGROUNDCOLOR,
SPLIT_HEADER_BACKGROUNDGRADIENT, SPLIT_HEADER_FONT, SPLIT_HEADER_FONTNAME
and SPLIT_HEADER_FONTHEIGHT have no
effect with this function. The
instruction SPLIT_HEADER_TEXTCOLOR specifies
the textcolor of <Text>. SET_SPLIT_WINDOW_HEADER returns the following
values: 0: The function has been executed
successfully. -1: The split window <Split-Handle>
does not exist. |
||||||||||||||||||||||||||||||||||
|
Parameter: |
|
||||||||||||||||||||||||||||||||||
|
Sample: |
HANDLE% = SPLIT_WINDOW(0,1,60,-1,-1,-1) IF HANDLE% < 0 THEN ... Error ... ENDIF /* Create header
line: text left, image right, grey background H% = SET_SPLIT_WINDOW_HEADER(SPLIT_NR,"Info","ebusclose.gif",
"Arial",20,0,0,-1,1,192,192,192,-1,-1,-1,0) IF H% <> 0 THEN ... Error ... ENDIF
|
||||||||||||||||||||||||||||||||||
|
See also: |
SPLIT_HEADER_BACKGROUNDGRADIENT |