|
|
|
|
|
Style (Property) In french: Style
The Style property is used to retrieve and assign the entire style of a control (including the overrides). // Copy styles between 2 edit controls EDT_EnterPrice.Style = EDT_Example.Style
Syntax
Retrieving the entire style of a control Hide the details
<Result> = <Control used>.Style
<Result>: Buffer Buffer containing the entire style of the control. This buffer can for example: - be used to copy the style from a control to another one.
- be saved in a file or in a memo item in order to restore the style afterwards.
<Control used>: Control name Name of the control to be used.
Modifying the style of a control Hide the details
<Control used>.Style = <New style>
<Control used>: Control name Name of the control to be used. <New style>: Buffer Buffer containing the new entire style of the control. Caution: - The style used must correspond to the style of a control of the same type. Otherwise, a WLanguage error occurs.
- If the style uses images, these images must be located in the WDL or accessible on the disk.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|