| Quintiq file version 2.0 | 
| #parent: SplitterWnd/ButtonBookmark | 
| Response OnClick () id:Response_SplitterWnd_ButtonBookmark_OnClick | 
| { | 
|   #keys: '[127238.0.1883525497]' | 
|   Body: | 
|   [* | 
|     // New bookmark | 
|     dlg := construct( DialogCreateEditBookmark ); | 
|      | 
|     bookmark := dlg.New( this, null( Bookmark ) ); | 
|      | 
|     if ( not isnull( bookmark ) ) | 
|     { | 
|       ListBookmarks.SelectByKey(  bookmark.Key() ); | 
|     } | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_GUIButtonBase_OnClick' | 
|   Precondition: | 
|   [* | 
|     return ScenarioManager::HasScenarioManager( ScenarioManager, feedback ) | 
|            and MacroPlan::HasMacroPlan( MacroPlan, feedback ); | 
|   *] | 
| } |