Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with toolbar + scrollbar together
Message
 
 
To
13/06/2002 08:33:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00667862
Message ID:
00668353
Views:
17
Peter,

I can at least duplicate the behavior you are seeing. I've tried a couple of things but they don't seem to fix the problem.

Do you have to use SDI forms?

Did you see the code in the toolbar.cmdMenu.Click() that actually moves the controls around by the menu height when the menu is added. You may have to do something similar when the toolbar is docked left or top.

>there seems to be a misbehaviour in VFP (7 SP1) when using toolbars +
>scrollbars together.
>If you want to see the problem, just use the SDI-SAMPLE from solutions.app
>and change the property "scrollbars" of the toplevel-window to 2=Vertical.
>Then run the sample.
>After docking the toolbar to the left side, the main window slides to the
>right. Now, if you try to click a button, it appears, that the button left
>of it gets the focus.
>Same behaviour if you dock the toolbar top, you have to click under the
>button to get the focus.
>You will get the focus, BUT you cannot PRESS the button with yout mouse.
>And VFP now always show the wrong tooltip (i.e. of the button left to the
>correct button)
>
>I have to use scrollbars together with toolbars for my current project.
>1st question: can anyone proof this misbehaviour or am i doing s.th.wrong?
>2nd: if it is a VFP-problem, what can I do?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform