Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu in forms
Message
 
To
14/10/2000 00:11:54
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00429489
Message ID:
00429528
Views:
15
>How can you create a horizontal-vertical drop down menu in the forms in vfp5.0?

what do you mean by horizontal-vertical?
you can build your menus in the menu designer and bind them to your top-level forms or to the _screen.

If you want a popup menu you can use the menu defining codes yourself like this
SET SHADOW ON

DEFINE POPUP GridPopup ;
  FROM MROW(), MCOL() ; && or 0,0 if you want the menu in the upper edge
  MARGIN ;
  SHORTCUT

DEFINE BAR 1 OF GridPopup PROMPT 'Line 1'
DEFINE BAR 2 OF GridPopup PROMPT 'Line 2' 
DEFINE BAR 3 OF GridPopup PROMPT "\-"
Define Bar 4 Of GridPopup Prompt 'Line 3'

ON SELECTION POPUP GridPopup _screen.activeform.GridPop(BAR())

ACTIVATE POPUP GridPopup
<pre>
After using the popup you can release it with
<pre>
RELEASE POPUP GridPopup
Eventually you can place that directly after the activat popup line
Previous
Reply
Map
View

Click here to load this message in the networking platform