| Author |
Missing ToolTips on Form opened by ReadModal()
|
|
| Markus Ottiger 2006-02-04, 1:23 pm |
| If a Form is opened by ReadModal with showTaskBarButton=fa
lse the tooltips are not working on the 2nd Form;
but they are working on the Base-Form and again from the 3rd form on.
Please see a simple form which shows the missing tooltips on the second window opened:
http://www.infonautics.ch/temp/infoanzeige.wfm
Does anybody knows this problem? Or even better the solution ;-)
Best regards
Markus Ottiger
| |
| Jean-Pierre Martel 2006-02-05, 3:23 am |
| In article <$TSzMrbKGHA.1104@news-server>, markus.ottiger@infonautics.ch
says...
> Does anybody knows this problem? Or even better the solution ;-)
The solution? You just have to disable the line that says:
f.hWndParent = form.hWnd
Why do you need to set that property to form.hWnd since dBASE will do
that automatically for you?
Jean-Pierre Martel, editor
The dBASE Developers Bulletin
Blue Star dBASE Plus Core Concepts Graduate
| |
| Markus Ottiger 2006-02-05, 7:23 am |
| Jean-Pierre Martel Wrote:
> In article <$TSzMrbKGHA.1104@news-server>, markus.ottiger@infonautics.ch
> says...
>
> The solution? You just have to disable the line that says:
> f.hWndParent = form.hWnd
>
> Why do you need to set that property to form.hWnd since dBASE will do
> that automatically for you?
>
> Jean-Pierre Martel, editor
> The dBASE Developers Bulletin
> Blue Star dBASE Plus Core Concepts Graduate
Hello Jean-Pierre
Thank you very much for your "solution"!
I just upgraded from Version 7.01 and was very happy to get the new (for me) property "showTaskBarButton". So I copied the code from the "hWndParent example" in the help file:
To open a main non-mdi form that has a Window's taskbar button;
f = new form()
f.mdi = false
f.open()
To open a child non-mdi form that does not have a Window's taskbar button;
c = new form()
c.mdi = false
c.hWndParent = f.hWnd
c.showTaskBarButton = false
c.open() // or c.readModal()
Thank you very much for your help!
Best regards
Markus
|
|
|
|