Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== COLLAPSE method (PropertyGrid) ====== ==== Description ==== Collapses a property category, making all items belonging to that category invisible. ==== Syntax ==== Call Exec_Method( ctrlEntID, "COLLAPSE", category ) ==== Parameters ==== ^Name^Required^Description^ |Category|Yes|@fm-delimited of category names to collapse. Pass "*" to collapse all categories.| ==== Returns ==== Not applicable. ==== Remarks ==== None. ==== Example ==== <code> $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 all "UI" items... Call Exec_Method( CtrlEntID, "COLLAPSE", "UI" ) </code> ==== See Also ==== N/A guides/oi10/presentation_server/collapse_method_propertygrid.txt Last modified: 2023/10/25 10:49by 127.0.0.1