guides:oi10:presentation_server:propertynames_property_propertygrid

PROPERTYNAMES property (PropertyGrid)

Returns a list of all visible property item names (i.e. from non-collapsed items) in the control.

The property value is an @fm delimited list of property names for all non-collapsed items in the control.

DevelopmentRuntimeIndexedScaledSynthetic
N/AGetNoNoNo

Category items are not included in the returned list (See the Property Grid developer notes above).

 
$Insert PS_Property_Grid_Equates

   

   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 )

   

   // Collapse the "Data" category

   Call Exec_Method( CtrlEntID, "COLLAPSE", "Data" )

   

   // Get the names of the visible property items

   PropNames = Get_Property( CtrlEntID, "PROPERTYNAMES" )

   

   // PropNames contains two @fm-delimited property names:

   //

   //   Visible

   //   Color
 
 
 

PROPERTYNAMESX property

.

  • guides/oi10/presentation_server/propertynames_property_propertygrid.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1