Garrett Sever
09-14-2001, 07:40 AM
All, in my quest for improving your user interfaces, I've written a simple version of the much sought-after Hover Button. While this is a "light" version, I have included the following features:
1. Picture can change depending when in the "Hover" state
2. Borders can be thick or thin
3. Borders can be specified as "popup" which means they appear when in the "hover" state
4. The text can be highlighted when in a "hover" state
5. A background texture may be used
6. Any combination of styles can be used together, for example "Popup" and "Thin" and "Text" can all be used simultaneously.
Screenshot is attached, and source code will be in the following post.
Sure sure sure, I could have added alot to this control, such as ForeColor, BackColor, other highlight styles like shadow and ditherBackground, Rotatable text, left/right/top/bottom alignment, left/right/top/bottom image alignment, etc etc etc. but this is a starting point.
Perhaps one of these days, if I feel benevolent enough, I'll post my full-blown hover control's code. Right now it will have to stay with me and the select few that have it.
Enjoy and regards.
-<font color=purple>The Hand</font color=purple>
<font color=green>All your code are belong to us...</font color=green> images/icons/tongue.gif
1. Picture can change depending when in the "Hover" state
2. Borders can be thick or thin
3. Borders can be specified as "popup" which means they appear when in the "hover" state
4. The text can be highlighted when in a "hover" state
5. A background texture may be used
6. Any combination of styles can be used together, for example "Popup" and "Thin" and "Text" can all be used simultaneously.
Screenshot is attached, and source code will be in the following post.
Sure sure sure, I could have added alot to this control, such as ForeColor, BackColor, other highlight styles like shadow and ditherBackground, Rotatable text, left/right/top/bottom alignment, left/right/top/bottom image alignment, etc etc etc. but this is a starting point.
Perhaps one of these days, if I feel benevolent enough, I'll post my full-blown hover control's code. Right now it will have to stay with me and the select few that have it.
Enjoy and regards.
-<font color=purple>The Hand</font color=purple>
<font color=green>All your code are belong to us...</font color=green> images/icons/tongue.gif