It's the age old "Ok" on right (Mac) or "Ok" on Left (Windoze). IMO, it is better to have a standard function that calls the answer (or whatever) command having swapped the buttons in necessary, e.g.\

function DoXPlatformDialog

if tPlatform is "OSX" then
  answer "Here's a sample" with "one" or "two" or "three"
else
  answer "Here's a sample" with "three" or "two" or "one"
end if

end DoXPlatformDialog

In one of my Apps, I actually create the button dymanically depending on the OS, that way you can position the "OK" and "Cancel" button appropriately depending on the OS.

Take Care
Dave

Yes.  I believe so.  It is due to a difference in HIG for the two
platforms.

Judy
On Tue, 26 Jul 2005, Charles Hartman wrote:

 Thanks. Let me just make sure I understand this part. Do you mean
 that I need to have platform-dependency code in my stacks, so every
 time I use "answer" I'd need something like this?

 > if tPlatform is "OSX" then
      answer "Here's a sample" with "one" or "two" or "three"
 else
      answer "Here's a sample" with "three" or "two" or "one"
 end if

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to