remove the title bar
Ken Ray
kray at sonsothunder.com
Sun Nov 9 02:21:05 EST 2008
> In the Rev docs it says use the title keyword to determine whether or not a
> window has a title bar:
>
> "Use the title keyword to turn a window's title bar on or off."
>
> But then there is no further information on the correct syntax. I tried the
> words false and off, but didn't work. Does anyone know the correct way to
> write this command so that the title bar is turned off?
Try this:
set the decorations of stack "YourStackNameHere" to empty
If you want it back, do:
set the decorations of stack "YourStackNameHere" to default
> Alternatively, if you know how to prevent a stack window from being moved,
> that would be great also.
Well, this works, but it may be a bit jittery depending on how quickly the
user moves the mouse:
on moveStack
if the uLoc of this stack is "" then
set the uLoc of this stack to the loc of this stack
else
set the loc of this stack to (the uLoc of this stack)
end if
end moveStack
HTH,
Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list