Page 1 of 1
Livecode tools menu won't open
Posted: Wed Oct 14, 2020 5:19 pm
by aradgivon
I am trying to open a project i saved on windows and when i open the project the tools menu and the upper menu won't open with it, just the project card.
Can someone please help?
Re: Livecode tools menu won't open
Posted: Wed Oct 14, 2020 5:56 pm
by dunbarx
Hi.
Sure they are not just off-screen? Try something like this:
Code: Select all
set the topLeft of stack "RevMenubar" to "100,100"
set the topLeft of stack "revTools" to "100,300"
Craig
Re: Livecode tools menu won't open
Posted: Wed Oct 14, 2020 8:12 pm
by richmond62
They may have become invisible somehow.
On Windows press CTRL-M to bring up the Messge Box and type:
Code: Select all
set the vis of stack "revMenubar" to true
then hit the RETURN/ENTER key, and the do this:
Code: Select all
set the vis of stack "revTools" to true
AND hit the RETURN/ENTER key.
Re: Livecode tools menu won't open
Posted: Thu Oct 15, 2020 10:01 am
by aradgivon
Thanks for your advice, but when I hit CTRL+M the message box does not open, nothing happens.
What should I do?
Re: Livecode tools menu won't open
Posted: Thu Oct 15, 2020 11:33 am
by jmburnod
Hi,
Message Box is a stack, you may use same way
Code: Select all
set the loc of stack "Message Box" to the screenloc
Best regards
Jean-Marc
Re: Livecode tools menu won't open
Posted: Thu Oct 15, 2020 12:17 pm
by Klaus
jmburnod wrote: ↑Thu Oct 15, 2020 11:33 am
Hi,
Message Box is a stack, you may use same way
Code: Select all
set the loc of stack "Message Box" to the screenloc
Best regards
Jean-Marc
With the message box?

Re: Livecode tools menu won't open
Posted: Thu Oct 15, 2020 1:41 pm
by richmond62
This is all getting a bit circular.
UNFORTUNATELY there is no way that I can see to create a new stack with key-commands, followed by a button.
IF that were possible it should be possible to open the script of that button and use that to issue commands to
make the IDE stacks visible.
Come to think of things . . . it is a bit silly that CTRL-N is not 'there' for a new, default stack,
and something like CTRL-B for a new button.
Try CTRL-O to open an existing stack and then hack a button there . . .
Re: Livecode tools menu won't open
Posted: Thu Oct 15, 2020 1:51 pm
by dunbarx
Something funny going on here. Do you have any stack at all visible on screen? If so, make a button and see what happens with:
Code: Select all
on mouseUp
if there is a stack "RevTools" then answer the loc of stack "RevTools"
else answer "No such stack"
end mouseUp
Craig
Re: Livecode tools menu won't open
Posted: Thu Oct 15, 2020 2:11 pm
by AxWald
Hi,
you may as well trying to rename your preferences file - LC occasionally corrupts it.
This is a bug as old as LiveCode itself ;-)
You'll find it here:
Code: Select all
C:\Users\[UserName]\AppData\Roaming\RunRev\Preferences\livecode7.rev
Have fun!
Re: Livecode tools menu won't open
Posted: Thu Oct 15, 2020 5:55 pm
by aradgivon
Resetting the preferences by deleting the preference file on my computer solved the problem.
Thanks for your help!