Ok, so I admit it - I LIKE the new WinXX button style where the toolbar
buttons are flat until you put the mouse over a button. Then it raises if its
active but stays flat if its not.
And thats easy to emulate in Xforms ( plug plug - even easier in
Xforms4Perl). Define the button as FL_FLAT_BOX then have a preemptive
handler and trap the FL_ENTER event. When you get that change, the box
FL_UP_BOX. And change it back on FL_LEAVE.
But THAT has exposed a minor annoyance. I have my border width set to -2.
If the button is a normal button then that width gets reflected in the
UP_BOX appearance. BUT, if its a pixmap button, it seems to be ALWAYS -1,
no matter what I have actually set the border to.
Anyone else seen this?
===========================================================
_/ _/_/_/_/
_/_/ _/_/ _/
_/ _/_/ _/_/_/_/ Martin John Bartlett
_/ _/ _/ _/ (martin@nitram.demon.co.uk)
_/ _/_/_/_/
_/
_/ _/
_/_/
===========================================================
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/