Download AreaList Pro manual - e-Node

Transcript
11
Command Reference
AL_SetAreaLongProperty
(AreaRef:L; Property:T; Value:L)
Parameter
Type
Description
ª■AreaRef
longint
Reference of AreaList Pro object on layout.
ª■Property
text
The property to set.
ª■Value
longint
The value to set the property with (a long integer).
Set a specific Property for an area. The properties that can be set with this command are the ones of type
“longint” and “boolean” (1 or 0) listed in the AreaList Pro Area Properties section.
Example
To start data entry in the first row of the second column:
AL_SetAreaLongProperty (area;ALP_Area_EntryGotoColumn;2)
AL_SetAreaLongProperty (area;ALP_Area_EntryGotoRow;1)
AL_SetAreaPtrProperty
(AreaRef:L; Property:T; Pointer:Z) -> result:L
Parameter
Type
Description
ª■AreaRef
longint
Reference of AreaList Pro object on layout.
ª■Property
text
The property to set.
ª■Pointer
pointer
Pointer to a variable that holds a value to pass to the function.
©■result
longint
Set a specific Property for an area. The properties that can be set with this command are listed in the AreaList
Pro Area Properties section.
This version of AL_SetAreaProperty allows you to write generic code that uses a Pointer to any type of variable.
Example
To show the sort editor:
$showSortEditor:=1
$error:=AL_SetAreaPtrProperty (area;ALP_Area_ShowSortEditor;->$showSortEditor)
Area
173