[EMAIL PROTECTED] wrote:
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.

Right. In my revisions it now takes into account both the platform and the lookAndFeel to determine the appropriate icons and button placement.

FWIW, Windows has no "Appearance Manager", so that token is a red herring. Hopefully we'll see it depricated eventually in favor of something more universally applicable, like maybe "OSnative".


--
 Richard Gaskin
 Fourth World Media Corporation
 ___________________________________________________________
 [EMAIL PROTECTED]       http://www.FourthWorld.com
_______________________________________________
metacard mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to