CT SET PROPERTIES

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 2004 (Modified)


CT SET PROPERTIES (area; printOrder; changeAlert; hotlinkType; saveAlert)

ParameterTypeDescription
areaLongint4D Chart area
printOrderIntegerPrint order
0 = Across
1 = Down
-1 = No change
changeAlertIntegerGraph type change alert
0 = No alert
1 = Alert
-1 = No change
hotlinkTypeIntegerObsolete (pass -1)
saveAlertIntegerAlert 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.

The hotlinkType is obsolete (pass -1 to ignore it).

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 no alert for graph type change without changing the other properties.

   CT SET PROPERTIES (Area;-1;1;-1;-1)

See Also

CT GET PROPERTIES, CT SAVE DOCUMENT.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next