guides:programming:programmers_reference_manual:psstyle_n_property_gui

PSSTYLE_N property (GUI)

Returns the internal Presentation Server style flags in Numeric (integer) format.

The PSSTYLE_N property is returned as an integer:

E.g. 83120906

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_N 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.

This property is the same as the PSTYLE property except that it returns an integer which removes the need to convert the data before using it, thereby improving efficiency.

PSSTYLE Property

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

   * //           for an EDITLINE control

   

   $Insert PS_Edit_Equates

   

   PsStyle = Get_Property( CtrlEntID, "PSSTYLE_N" )

   

   If BitAnd( PsStyle, PSS_EDIT_TABOUTEXCEED$ ) Then

      * // TABOUTEXCEED is set...

   End
 
 
  • guides/programming/programmers_reference_manual/psstyle_n_property_gui.txt
  • Last modified: 2023/10/25 10:50
  • by 127.0.0.1