Nothing new and nothing special but it took me some minutes to figuring it out.


Code: Select all
switch the platform
case "Win32"
if the systemVersion = "NT 5.1" then
// Windows XP
set the textFont of this stack to "Tahoma"
set the textSize of this stack to "11"
set the height of btn "btnExample" to 23
set the topMargin of btn "btnExample" to 6
else
// Windows Vista / Windows 7
set the textFont of this stack to "Segoe UI"
set the textSize of this stack to "12"
end if
break
end switch