PROPERTYNAMESX property (PropertyGrid)
Description
Returns a list of all property item names in the control.
Property Value
The property value is an @fm delimited list of property names for all items in the control.
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
N/A | Get | No | No | No |
Remarks
Category items are not included in the returned list (See the Property Grid developer notes above).
Example
$Insert PS_Property_Grid_Equates $Insert Logical CtrlEntID = @Window : ".PRG_MAIN" // Set the full list of items... // // Data // Title - Yadda // SubTitle - Whatever // UI // Visible - TRUE$ // Color - 0xFF (red) Pgl = "Data" : @Vm : "Title" : @Vm : PS_PGI_EDIT$ : @Vm : "Yadda" Pgl<-1> = "Data" : @Vm : "SubTitle" : @Vm : PS_PGI_EDIT$ : @Vm : "Whatever" Pgl<-1> = "UI" : @Vm : "Visible" : @Vm : PS_PGI_CHECK$ : @Vm : TRUE$ Pgl<-1> = "UI" : @Vm : "Color" : @Vm : PS_PGI_COLORDLG$ : @Vm : 0xFF Call Set_Property_Only( CtrlEntID, "LIST", Pgl ) // Get the names of the visible property item PropNames = Get_Property( CtrlEntID, "PROPERTYNAMESX" ) // PropNames contains four @fm-delimited property names: // // Title // SubTitle // Visible // Color
See Also
PROPERTYNAMES property
.