Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I use commandbutton on DOS-based screen?
Message
From
06/05/2004 12:34:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Can I use commandbutton on DOS-based screen?
Miscellaneous
Thread ID:
00901626
Message ID:
00901626
Views:
67
Hey all,

The main screen in our app is still DOS-based style with @...SAY, etc.

I am trying to add a CommandButton to the _SCREEN object to display some info and to take advantage of the ToolTip of the button. I don't need any code behind the button or anything.

I get the button to show up fine and in the position I want by using _SCREEN.AddObject() and property settings. But hovering the mouse over the button results in nothing happening. Also, clicking on the button results in nothing. Essentially, the screen is immune to the mouse (except for the row of menu buttons at the bottom of the screen defined by @..GET).

Stepping through, I see WindowType is switching to 2 at the point the tool tip will not show. When the code issues a READ, the tool tip displays.

Is there any way to make the tool tip show all the time? I was just looking for a clever way to display additional information without eating up our precious screen real estate, but ToolTips don't work. I do not have the luxury of totally redesigning our main screen or migrating away from the DOS-style of coding.

Any thoughts or input would be tremendously appreciated...

Thanks,
JoeK
Next
Reply
Map
View

Click here to load this message in the networking platform