>Hi!
>
>Well, the fact that things are shifted down is def. by design. The fact that the scrollbar isn't updated properly isn't. However, you can force proper redraw by issuing a THISFORM.Resize() after the button was clicked.
>
>Regards,
>Markus
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The issue isn't with the scroll bars.
The issue is that the hot spot changes once the toolbar is in place.
Create a showwindow=2 type form.
Create a showwindow=1 type toolbar.
Place a command button on the form
Change the mouse pointer of the command button to a nodrop icon.
Run the form
Move the mouse pointer over the button - notice the nodrop icon.
In the click event of the command button, create the toolbar.
Move the mouse pointer over the button - there is none.
Move the mouse pointer below the button...
Pierre Demester
demester@VisualFoxPro.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement