MrSmith
December 3rd, 2001, 08:35
Hi,
I'm working on a program, written in Delphi4, where I would like to enable a disabled menu item (printing).
First I used Restorator to look into the resources. There the menu item was not marked as disabled and so I thought it must be disabled somewhere in the program code.
Therefore I used Dede to disassemble the Delphi program. I found the formCreate event for the form, which defines the menu and disassembled it. But unfortunately I didn't find a call which disables the menu item :-(
I'm not a Delphi expert, so how would the menu item be disabled in Delphi ?
Has it do be inside the formCreate event or can it be somewhere else ?
Is there a recommended way for enabling disabled menu items ?
Cheers,
MrSmith
I'm working on a program, written in Delphi4, where I would like to enable a disabled menu item (printing).
First I used Restorator to look into the resources. There the menu item was not marked as disabled and so I thought it must be disabled somewhere in the program code.
Therefore I used Dede to disassemble the Delphi program. I found the formCreate event for the form, which defines the menu and disassembled it. But unfortunately I didn't find a call which disables the menu item :-(
I'm not a Delphi expert, so how would the menu item be disabled in Delphi ?
Has it do be inside the formCreate event or can it be somewhere else ?
Is there a recommended way for enabling disabled menu items ?
Cheers,
MrSmith