I'm creating a menu in the system toolbar, using the following coding,

DEFINE PAD PadShortCut OF _MSYSMENU PROMPT "\<Shortcuts" COLOR SCHEME 3 KEY
ALT+S, ""
ON PAD PadShortCut OF _MSYSMENU ACTIVATE POPUP ShortCuts
DEFINE POPUP ShortCuts MARGIN RELATIVE SHADOW COLOR SCHEME 4

Some where else, i want to PUSH the popup ShortCuts, but for this i need to
know this name,
It could be ShortCuts or ShortCut, or PopShortCut

So, basically, given the Title of the PAD, CAN I determine the actual name
of the PopUp which will be called??

Regards,
Paul

Re: determine the name of the popup which will be called from the pad by Sietse

Sietse
Fri Jun 25 07:52:17 CDT 2004

Hi Paul,
I'm confused....
Based on your provided code, the popup is always named SortCuts? (> DEFINE
POPUP ShortCuts )

Sietse Wijnker

"Paul Wilson" <paul@dummyemailaddress.com> wrote in message
news:e0b3IuqWEHA.1684@tk2msftngp13.phx.gbl...
> I'm creating a menu in the system toolbar, using the following coding,
>
> DEFINE PAD PadShortCut OF _MSYSMENU PROMPT "\<Shortcuts" COLOR SCHEME 3
KEY
> ALT+S, ""
> ON PAD PadShortCut OF _MSYSMENU ACTIVATE POPUP ShortCuts
> DEFINE POPUP ShortCuts MARGIN RELATIVE SHADOW COLOR SCHEME 4
>
> Some where else, i want to PUSH the popup ShortCuts, but for this i need
to
> know this name,
> It could be ShortCuts or ShortCut, or PopShortCut
>
> So, basically, given the Title of the PAD, CAN I determine the actual name
> of the PopUp which will be called??
>
> Regards,
> Paul
>
>



Re: determine the name of the popup which will be called from the pad by Paul

Paul
Sun Jun 27 21:57:41 CDT 2004

Yes, but what if it is named loShortCut.
Then can is it possible for me to determine this name???

Thanx,
Paul

"Sietse Wijnker" <sietse.wijnker@ATsw-software.nl> wrote in message
news:uyn4ANrWEHA.1144@TK2MSFTNGP10.phx.gbl...
> Hi Paul,
> I'm confused....
> Based on your provided code, the popup is always named SortCuts? (>
DEFINE
> POPUP ShortCuts )
>
> Sietse Wijnker
>
> "Paul Wilson" <paul@dummyemailaddress.com> wrote in message
> news:e0b3IuqWEHA.1684@tk2msftngp13.phx.gbl...
> > I'm creating a menu in the system toolbar, using the following coding,
> >
> > DEFINE PAD PadShortCut OF _MSYSMENU PROMPT "\<Shortcuts" COLOR SCHEME 3
> KEY
> > ALT+S, ""
> > ON PAD PadShortCut OF _MSYSMENU ACTIVATE POPUP ShortCuts
> > DEFINE POPUP ShortCuts MARGIN RELATIVE SHADOW COLOR SCHEME 4
> >
> > Some where else, i want to PUSH the popup ShortCuts, but for this i need
> to
> > know this name,
> > It could be ShortCuts or ShortCut, or PopShortCut
> >
> > So, basically, given the Title of the PAD, CAN I determine the actual
name
> > of the PopUp which will be called??
> >
> > Regards,
> > Paul
> >
> >
>
>