mousemove events and visibility

maxmangion

AWF VIP
Local time
Today, 03:59
Joined
Feb 26, 2003
Messages
2,805
having a startup form (to be used as a Main Menu) with several on mousemove events to display/hide other objects on the form so that i would create a form of "drop down menus", do you think i shall encounter any problems in using several onmousemove events to set the visibility of other controls ?

Thank you !
 
Have tried this sort of thing myself. I tried to create custom menus using the mouse over events but found that the amount of code involved made it a nightmare to maintain (edit or add things)

Dave
 
thx for your point, but actually i do not have an enormous amount of menus/selections. However, if i am patient (?) enough to take care of the edit/add things, do you that i shall encounter any problems since as you said it requires a bit of coding!

the attached is a sample of the form i am talking about.
 

Attachments

The main thing that I got sick of was the fact that you have to have code on every item to hide every other item as you never know where your user will roll the mouse to.

If you dont have many items then that is not as big of an issue.

Dave
 
Had a quick look. Luuverly colors :D

Take your time with the code. It looks like you are well on the way.
 
actually for the reasoning you're mentioning i used the onmousemove of the design of the form rather than on each and every item ... therefore as soon as as the mouse moves again on the back of the form, all items are hidden !
 
Here is where the coding gets painful....

Mouse over- Stamps-Duplicates then straight to Collectors-Send Stamps then Themes-stamp themes.....

I'm sure you get the idea :(

Dave
 
yes you are right about that ! ... i can get around that by using the onmousemove of the collectors send to set every other visibility to false ... but then as you said, the code gets even longer and tedious ! however, some way around this might be either using horizontal main menus rather than vertical (as they are) or else make some distance between the drop down menus so that the onmousemove of the form design could do the work.

an other alternative might be that i do the collectors sub-menu on the other side (left) but i prefer them be all on one side!

To be honest this db is for my personal use and my only worry was if such a form would cause a performance problem on the overall performance of the database !
 
it should be less painful in the attached example ! (or at least i hope so)
 

Attachments

I wouldn't worry about a "preformance hit" in slowing performance. As you've seen from some of the code posted in other threads, it can go on forever.
 

Users who are viewing this thread

Back
Top Bottom