Advertisement
1_2002 Object Oriented Programming (OOP) #107451

Highlight On Mouse Over - No Glitches

Have you ever created a link for your email or homepage, which uses an object that highlights when you move your mouse over it? This is a much more efficient method of doing this, because it will always show the correct state. The reason for this is that most of you have coded it so the Label_MouseMove event highlights and the Form_MouseMove event un-highlights. This is a terrible way of doing it because it's possible to move your mouse away from the label without placing your mouse over the form. Therefore, the label stays highlighted, which is not the desired effect. See the screen shot for more information.

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
Upload
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine