Quintiq file version 2.0 #parent: CustomDrawComponent/MenuLegend1 Response OnClick () id:Response_CustomDrawComponent_MenuLegend1_OnClick { #keys: '[11660.0.195123732]' Body: [* //show dialog dlg := Application.Frame().FindChildObject( 'DialogLegendSupplyChainDisplay' ).astype( DialogLegendSupplyChainDisplay ); if( isnull( dlg ) ) { newdlg := construct( DialogLegendSupplyChainDisplay ); Frame.ShowDialog( &newdlg ); } else { dlg.SetFocus(); } *] DefinitionID: 'Responsedef_Menu_OnClick' }