====== DELETE method (PropertyGrid) ====== ==== Description ==== Deletes a property item from the Property Grid. ==== Syntax ==== deletedItem = Exec_Method( ctrlEntID, "DELETE", name ) ==== Parameters ==== (These parameters are more fully described in "Property Items" section above) ^Name^Required^Description^ |Name|Yes|Name of the property item. If "*" is passed all items are deleted.| ==== Returns ==== The @vm-delimited structure of the property item that was deleted, or null if all items were deleted. ==== 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 ) // Delete the "Visible" item VisItem = Exec_Method( CtrlEntID, "DELETE", "Visible" ) // The full list of items now looks like: // // Data // Title - Yadda // SubTitle - Whatever // UI // Color - 0xFF (red) ==== See Also ==== N/A