Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu in forms
Message
 
À
14/10/2000 00:11:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00429489
Message ID:
00429528
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform