Table of Contents

PSSTYLE property (GUI)

Description

Returns the internal Presentation Server style flags in Hex format.

Property Value

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

E.g. "0x4F4530A"

Property Traits

DevelopmentRuntimeIndexedScaledSynthetic
N/AGet OnlyNoNoNo

Remarks

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.

See Also

PSSTYLE_N Property

Example

 
* // 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