oi10:presentation_server:psstyle_property_gui

PSSTYLE property (GUI)

Returns the internal Presentation Server style flags in Hex format.

The PSSTYLE property is returned as a C-style hex string, prefixed with "0x".

E.g. "0x4F4530A"

DevelopmentRuntimeIndexedScaledSynthetic
N/AGet OnlyNoNoNo

The individual bits in this property are used as flags internally to hold the state of various properties, and are normally changed via other property and method calls. For this reason the PSSTYLE property is read-only.

In general the meaning of the flags for each object differs based on its type. There are several "PS_" Insert records supplied with OpenInsight (such as PS_LISTBOX_EQUATES, PS_EDIT_EQUATES and so on) that have constants defined for each flag that illustrate their meaning further.

PSSTYLE_N Property

 
* // Example - "manually" check the TABOUTEXCEED property

   * //           for an EDITLINE control

   

   $Insert PS_Edit_Equates

   

   PsStyle = Get_Property( CtrlEntID, "PSSTYLE" )

   

   * // The style is in HEX format so we need to convert it to

   * // a number to use with BitAnd()

   PsStyle = Iconv( PsStyle[3,\00\], "MX" )

   

   If BitAnd( PsStyle, PSS_EDIT_TABOUTEXCEED$ ) Then

      * // TABOUTEXCEED is set...

   End
 
 
 
 
  • oi10/presentation_server/psstyle_property_gui.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1