Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu bar stays after being removed
Message
From
18/01/2022 12:12:43
 
 
To
18/01/2022 10:00:37
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
01683251
Message ID:
01683280
Views:
51
>>>I wouldn't be surprised if you could do that with a horizontal one as well. You have a set of clickable labels, basically, with their surrounding rectangle, laid out in a line. Whether the line is horizontal or vertical affects only their layout, not the functionality. So the decision to have AT clause in activate popup but not in activate menu is actually quite arbitrary. The code inside is the same.
>>>
>>>Or, if it is not the same, then I consider it a serious consequence of the western inductive method of learning (specially sciences). Someone failed to notice the identical behavior and wrote code twice.
>>
>>Obviously the horizontal one is designed to stuck on a window (...), while to vertical one is designed to float and be visible only temporary. For the designers that time it was a huge enough difference?
>
>Or the difference is even older - menus existed even before windowses. They somehow become part of any graphical environment's window handler, so the code for the menu system doesn't come from the language you use, it comes from outside, as a system service (ditto in all flavors of linux I tried so far... and apart from that, I think very few apps I ever saw had their own menu handler, about 99% rely on system). IOW we aren't talking about Dr Dave here, we're talking about the guys who wrote for Mac back in the eighties, or even their predecessors. Who knows what happened then.
>
>I've always felt the menu system as a foreign body grafted on Fox.

If I'm not mistaken, the way the menus and popup work in VFP was carried over from FoxPro DOS/Windows/Mac

prior to using FoxPro DOS, I remember using the old "pick-a-number" type menus or the slightly fancier type that utilized INKEY() loop in xBase code -- neither of which worked with a mouse (though back then it wasn't a huge issue, since most of the users at the time didn't have a mouse connected on a system generally limited to text mode).
Previous
Reply
Map
View

Click here to load this message in the networking platform