jacque wrote: "Somebody should test it on platforms other than Mac. [...] if the lookAndFeel is "Macintosh" or the lookAndFeel is "Appearance Manager" then put twidth - 24 into anfangrechts repeat with i = 2 to nchoices + 1 -- JG set the right of button i to anfangrechts subtract the width of button i from anfangrechts subtract 12 from anfangrechts set the bottom of button i to the height of this stack - 20 end repeat else repeat with i = 2 to nchoices + 1 set the left of button i to round(curx) add the width of button i + iwidth to curx set the bottom of button i to the height of this stack - 16 end repeat end if set the default of btn 2 to true -- JG [...]
As my Windows XP returns "Appearance manager" for lookandfeel, WinXP and Mac will display the buttons in the same order. Although there is some inconsistency, XP tends to use the alternative button ordering. There is also nothing sacred about 68px OSX btn width. OSX HIG page 224... "Width: Depends on button text. The standard width for OK and Cancel is 68 pixels." /H _______________________________________________ metacard mailing list [email protected] http://lists.runrev.com/mailman/listinfo/metacard
