Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sideways Menus? Possible?
Message
 
À
19/08/2003 13:00:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00821481
Message ID:
00821651
Vues:
19
>Hey all,
>
>I am converting some old @...PROMPT areas of our app to menus. Problem is, the PROMPT method actually had one advantageous scenario -- the sideways menu. We put our menus across the bottom of our screens and use them for navigation.
>
>Is there a way I can do this with DEFINE POPUP? ALl the docs I am reading do not give position as an option, so I can't force DEFINE BAR to place the menu items from left to right instead of top to bottom.
>
>I know we should switch to buttons, but our screens are old and I wanted a quick fix for this. Replacing @...PROMPT with DEFINE POPUP is a piece of cake. But I need a way to do the sideways stuff too. Please help!
>
>Thanks,
>JoeK

In addition to James response, you can set the location of the popup in the activate statement:
ACTIVATE popup MyPopUp at nRow,nCol
The nRow and nCol are more like 80x24 positioning. There may be some science to get GUI relative positioning, but have not really looked. I just bumble through a few numbers until it "looks" about right:-)
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform