guides:programming:programmers_reference_manual:undo_method_propertygrid

UNDO method (PropertyGrid)

If the current property item is being edited this method restores previously deleted text, or deletes previously added text from the item.

bUndone = Exec_Method( ctrlEntID, "UNDO" )

N/A

TRUE$ if the text was being edited, FALSE$ otherwise.

This method only works on enabled property items with the PS_PGIT_EDIT$, PS_PGIT_EDITBUTTON$, or PS_PGIT_EDITCOMBO$ styles.

 
$Insert PS_Property_Grid_Equates

   $Insert Logical

   

   CtrlEntID = @Window : ".PRG_MAIN"

   

   If Get_Property( CtrlEntID, "EDITORHANDLE" ) Then

      // A property is being edited

      Call Exec_Method( CtrlEntID, "UNDO" )

   End
 
 
 

EDITORHANDLE property, COPY method, CUT method, PASTE method, SELECTALL method

  • guides/programming/programmers_reference_manual/undo_method_propertygrid.txt
  • Last modified: 2023/10/25 10:50
  • by 127.0.0.1