version 6.0 (Modified)
CT SET PROPERTIES (area; printOrder; changeAlert; hotlinkType; saveAlert)
| Parameter | Type | Description | |
| area | Longint | 4D Chart area | |
| printOrder | Integer | Print order | |
| 0 = Across | |||
| 1 = Down | |||
| -1 = No change | |||
| changeAlert | Integer | Graph type change alert | |
| 0 = No alert | |||
| 1 = Alert | |||
| -1 = No change | |||
| hotlinkType | Integer | Default graph type for hot links | |
| -1 = No change | |||
| saveAlert | Integer | Alert box when closing a document | |
| 0 = No alert | |||
| 1 = Alert | |||
| -1 = No change |
Description
The CT SET 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 4D Chart presents an alert box when the user attempts to change the type of a graph. The user has the option to cancel or continue with the change.
hotlinkType is the default type of a graph created from data stored in a hot link. The codes for this parameter are listed in the description for the CT GET PROPERTIES command.
saveAlert specifies whether 4D Chart presents an alert box when the user closes 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 into a Picture field; the contents of these areas are automatically saved to the Picture field.
Example
This example sets the default hot link chart type to 3D Surface without changing the other properties.
CT SET PROPERTIES (Area;-1;-1;103;-1)
See Also
CT GET PROPERTIES, CT SAVE DOCUMENT.