| Quintiq file version 2.0 | 
| #parent: EditorExplanation/menuEditorSearch | 
| Response OnClick () inherited id:Response_EditorExplanation_menuEditorSearch_OnClick | 
| { | 
|   #keys: '[530.0.1613362]' | 
|   BaseType: 'Response_popupEdit_menuEditorSearch_OnClick' | 
|   Body: | 
|   [* | 
|     olddlg := select(Application.Frame(), SubComponents.astype(dlgSearchAndReplace), d, true ); | 
|     if ( isnull(olddlg) ) | 
|     { | 
|       dlg := construct(dlgSearchAndReplace); | 
|       dlg.edtReplace().Enabled(false); | 
|       dlg.Data(popupcomponent); | 
|       Application.Frame().ShowDialog(&dlg); | 
|     } | 
|     else | 
|     { | 
|       olddlg.edtReplace().Enabled(false); | 
|       olddlg.Data(popupcomponent); | 
|       olddlg.edtSearch().SetFocus(); | 
|     } | 
|   *] | 
|   DefinitionID: 'Responsedef_Menu_OnClick' | 
|   Precondition: | 
|   [* | 
|     return true; | 
|   *] | 
| } |