PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..Style is used to find out and assign the entire style of a control (including the overloads).
Example
// 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 name>..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 thereafter.
<Control name>: Character string (with or without quotes)
Name of control to use.

Modifying the style of a control Hide the details

<Control name>..Style = <New style>
<Control name>: Character string (with or without quotes)
Name of control to use.
<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 is using images, these images must be found in the WDL or they must be accessible on disk.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment