Show function
Prototype: |
function Show : boolean; |
|
Description: |
Shows a script organizer |
|
Syntax: |
variable:= Show; |
|
Part |
Description |
|
variable |
A variable declared as a boolean |
|
Return value: |
True / False |
|
See also:
Create; Free; Caption; Header; AddGroup; AddSubGroup; AddAttributeScript; AddOnDemandScript; Show; RegistryNameForLastPositionStyle
Example:
var i, j:integer;
sco:TScriptOrganizer;
begin
sco:=TScriptOrganizer.Create;
try
sco.RegistryNameForLastPosition := 'InventoryCheck_2020';
sco.Header:='Inventory';
sco.Caption:='Check data routines';
sco.AddGroup('Trees','Trees');
sco.AddAttributeScript( 'Check heights',
'Trees','CheckHeight',
'Check heights for all trees');
sco.AddAttributeScript( 'Check DBH',
'Trees','CheckDBH',
'Check DBH for all trees');
sco.AddGroup('Regeneration','Regeneration');
sco.AddAttributeScript( 'Check heights',
'Trees','CheckHeight',
'Check heights for all trees');
sco.AddAttributeScript( 'Check DBH',
'Trees','CheckDBH',
'Check DBH for all trees');
sco.Show;
finally
sco.Free;
end;
end.
© 2024 IFER-Monitoring and Mapping Solutions