Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms . . . 1

Status
Not open for further replies.

ShyFox

Programmer
Mar 22, 2003
210
ES
hy,
Does anyone knows how to make that TaskBar effect (dissapearing on the bottom of the screen)?
Regards

As I go deeper the road seems to go further. We're just simply pasangers on the road of knowledge.
 
ShyFox

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.

FAQ184-2483 - the answer to getting answered.​
Chris [pc2]
 
Chris,
Don't know how to use nXCoord and nYCoord. Never used before [sad]
Regards

As I go deeper the road seems to go further. We're just simply pasangers on the road of knowledge.
 
ShyFox

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

FAQ184-2483 - the answer to getting answered.​
Chris [pc2]
 
Chris,
Thank you!
Star
Regards

As I go deeper the road seems to go further. We're just simply pasangers on the road of knowledge.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top