version 2004 (Modified)
CT GET PROPERTIES (area; printOrder; changeAlert; hotlinkType; saveAlert)
| Parameter | Type | Description | |
| area | Longint | 4D Chart area | |
| printOrder | Integer | Receives print order | |
| 0 = By row | |||
| 1 = By column | |||
| changeAlert | Integer | Receives graph type change alert | |
| 0 = No alert | |||
| 1 = Alert | |||
| hotlinkType | Integer | Obsolete (do not use) | |
| saveAlert | Integer | Receives save alert | |
| 0 = No alert | |||
| 1 = Alert |
Description
The CT GET PROPERTIES command gets the properties that have been set for the specified 4D Chart area.
printOrder is the order in which pages of the document are printed. The print order affects only the order in which the document prints; it does not affect the page orientation.
changeAlert specifies whether the user will receive an alert box when attempting to change the type of a graph. The user has the option to cancel or continue with the change.
The hotlinkType parameter is obsolete and does not return a significant value.
saveAlert specifies whether the user will receive an alert box when closing a 4D Chart document with unsaved changes.
If saveAlert is equal to 1, 4D Chart presents a standard alert box when the user closes a 4D Chart document with unsaved changes. The alert box gives the user the option of saving the changes, not saving the changes, or returning to the document without closing.
If saveAlert is equal to 0, 4D Chart does not save the changes or present an alert to the user. You are responsible for saving the changes. The exception is a 4D Chart area on a form that is being saved in a Picture field; the contents of these areas are automatically saved in the Picture field.
Example
This example returns area properties print order, and graph type change alert in the $POrder, $CAlert, and $SAlert variables.
CT GET PROPERTIES (Area;$POrder;$CAlert;$HType;$SAlert)
See Also
CT SAVE DOCUMENT, CT SET PROPERTIES.