home *** CD-ROM | disk | FTP | other *** search
- registerObject {
- type CustMenuPushButton
- name .utilities.menu.configuredelphiexamples
- scope {* * ObjectDesign}
- objSpec {
- label "Configure Delphi Examples"
- mnemonic E
- checkOn selectionChange
- enableScript {
-
- set phaseV [[ClientContext::global] currentPhase]
- if {"[$phaseV getInfo Status]" != "working"} {
- %this sensitive 0
- return
- }
- %this sensitive 1
-
- }
- activated {
- set options "-f config_examples.tcl"
- set script "[quoteIf [m4_path_name bin otsh$EXE_EXT]] $options"
- .main startCommand mtool \
- "$script" "" "Starting 'Configure Delphi Examples'..." {1 0} 0
-
- }
- }
- }
-