EXPAND method (PropertyGrid)
Description
Expands a property category, making all items belonging to that category visible.
Syntax
Call Exec_Method( ctrlEntID, "EXPAND", category )
Parameters
Name | Required | Description |
---|---|---|
Category | Yes | @fm-delimited of category names to expand. Pass "*" to expand all categories. |
Returns
Not applicable.
Remarks
None.
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, "LISTX", Pgl ) // Hide then show all "UI" items Call Exec_Method( CtrlEntID, "COLLAPSE", "UI" ) Call Exec_Method( CtrlEntID, "EXPAND", "UI" )
See Also
N/A