Is defining a local variable of the menu necessary?
For e.g. shouldn't this work: m_menu.m_periodicprocessing.Enabled = TRUE
I am facing a problem with this syntax only when multiple instances of the sheet are
opened and then one is closed.
The above statement then gives a null object reference. However the menu is still
attached with the sheet.
So why does this happen?
Any ideas?
Using PB 6.5/PFC
TIA
Sameer Sharma
-----Original Message-----
From: Joel Rochlin [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, May 27, 1999 11:31 AM
To: shalpin
Cc: [EMAIL PROTECTED]
Subject: Re: PFCSIG Menus
M_MASTER lm_menu
// ENABLE MENU ITEMS
lm_menu = gnv_app.of_getframe ( ).menuid
lm_menu.m_periodicprocessing.Enabled = TRUE
shalpin wrote:
> All
> I'm using PB 6.5 with PFC on Windows NT.
>
> Can anyone give me a refresher on how to enable and disable menu items
> on a frame menu.
> For example, how would I enable, disable the New or any of my own added
> items on a menu inherited from m_frame? Depending on Security or what
> window is doing what.
>
> Any help would be appreciated!
> Thanks
> Steve
>
> --
>
> "The greatest good we can do for others is not to share our riches but
> to reveal theirs"
> Steve R.
> Halpin
> UNITEDHEALTH Group Inc.
> [EMAIL PROTECTED]
> MN010-N169
> Senior Software Engineer Golden
> Valley, MN 55425
>
> > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]