Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I use commandbutton on DOS-based screen?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00901626
Message ID:
00901695
Views:
17
>Yeah, ShowTips for _SCREEN is TRUE.
>
>The button with tip works fine on the normal screen when I am interactive. But in the app where we use READs and stuff, the WindowType ends up at 2. In this state, normal event-driven stuff does not seem to work.
>
>I don't think I can add a DOS-style button because in the wait state the menu buttons (via @..GET) are the ones waiting for input at the bottom of the screen. I don't think we can have two sets of buttons up and active at once. There just doesn't appear to be a way of emulating event-driven stuff with the DOS type of screen (at least not with the mouse).

I'm not sure what WindowType 2 even means. Are you talking about the ShowWindow property? WindowType only has settings of 0 and 1. A ShowWindow property of 2 means "As Top-level Form".

As far as the DOS stuff goes, FPD doesn't really have windows the way VFP does. Any buttons you define at the same read level are active. You may want to try it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform