Assuming you are referring to the 'autohide' feature of the Windows taskbar, you could simulate that through the .MouseMove() event of a control/form, using the nXCoord and nYCoord values to trigger the appearance, movement and dissapearance of controls on a form.
In the .MouseMove() event of the form/control, you can monitor the position of the cursor with :-
THISFORM.text1.Value = TRANS(nXCoord)+[,]+TRANS(nYCoord)
You can then calculate where you want to 'trigger' the control's appearance, movement and disappearance with :-
IF nXCoord > 123 AND nYCoord > 456
[tab]* code to show control
ELSE
[tab]* code to hide control
ENDI
To move the control smoothly, use a timer, not a DO WHILE... loop
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.