Re: Disable Menu Items by Carsten
Carsten
Wed Mar 28 02:26:15 CDT 2007
Herbert,
you can use the "Skip for"-clause in the menudesigner (placed in the options
for each menu-item).
Are you defining the menu "by scratch"?
Here is a simple example:
DEFINE PAD ...
DEFINE POPUP Files MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF Files PROMPT "Open file" SKIP FOR pbReportPreview
You'll need a public variable called pbReportPreview which you set to .F. in
your preview-method.
--
Cheers
Carsten
_______________________________
"HerbertDB" <herbertdb@nospam.com> schrieb im Newsbeitrag
news:%235fKDUNcHHA.1220@TK2MSFTNGP03.phx.gbl...
> How do I disable a User Define Menu when I preview a Report?
>
> Thanks.
>
> "HerbertDB" <herbertdb@nospam.com> wrote in message
> news:OKNGkNNcHHA.5052@TK2MSFTNGP05.phx.gbl...
>> Hi,
>>
>> How do I disable Menu Items (Using Define Menu) when I preview
>> a report?
>>
>>
>> Thanks,
>> Herbert
>>
>
>