Code: Select all
on openstack
go stack "MyStack" as palette
end openstack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
on openstack
go stack "MyStack" as palette
end openstack
If you tryRev Dictionary wrote: Important! The style of the stack, if it is anything other than "topLevel", overrides any mode you specify in a go command. For example, if you open a stack using the statement go stack "Some Stack" as modeless, and the style of "Some Stack" is set to "palette", it opens as a palette rather than a modeless dialog box, ignoring the mode you specified.
Code: Select all
palette "MyStack"
Code: Select all
palette "MyStack"
SparkOut wrote:Maybe the style of the substack has been set?If you tryRev Dictionary wrote: Important! The style of the stack, if it is anything other than "topLevel", overrides any mode you specify in a go command. For example, if you open a stack using the statement go stack "Some Stack" as modeless, and the style of "Some Stack" is set to "palette", it opens as a palette rather than a modeless dialog box, ignoring the mode you specified.does that work? (Look up "palette" in the dictionary to see the notes about how the messages are affected by this command)Code: Select all
palette "MyStack"
You can look at the scripts of all IDE components (if you have set one of the relevant settings) I have it set to open scripts of all stacks (even IDE ones) when I alt-ctrl-right click. In the mouseDoubleUp handler you'll find the following code:billworld wrote:Maybe intentionally to help with editing?
Code: Select all
default
if not the visible of stack tStack then show stack tStack
if the style of stack tStack is not "toplevel"
then set the style of stack tStack to "toplevel"
else toplevel stack tStack
break
end switch
BvG wrote:You can look at the scripts of all IDE components (if you have set one of the relevant settings) I have it set to open scripts of all stacks (even IDE ones) when I alt-ctrl-right click. In the mouseDoubleUp handler you'll find the following code:billworld wrote:Maybe intentionally to help with editing?
So most likely you're right with your assumption.Code: Select all
default if not the visible of stack tStack then show stack tStack if the style of stack tStack is not "toplevel" then set the style of stack tStack to "toplevel" else toplevel stack tStack break end switch