I'd be thankful if I get the solutions of these two problems. I made a stack using rev 2.8.1 and put the following script for it -
Code: Select all
on preOpenstack
set the loc of this stack to the screenloc
set the iconic of this stack to true
end preOpenstack
on iconifyStack
hide this stack
set the icon to 1003
set the iconmenu to "About" & return & "Quit"
pass iconifyStack
end iconifyStack
on iconmenuPick theItem
if theItem is "About" then answer "This is created by me"
else if theItem is "Quit" then quit
end iconmenuPick
ii) the 2nd problem is that, though i set the loc of that stack to the screenloc, it answers the dialog message at the top left corner of the screen after clicking btn "About", not in the center screen. Why?
Thanks in advance.
TAREQ