Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
p4tr1ck
- Posts: 36
- Joined: Mon Jun 14, 2010 4:58 pm
Post
by p4tr1ck » Sat Aug 28, 2010 4:10 am
This is a stupid question, sorry. I saw this on the "open anything " example, and am puzzled why it doesn't seem to be on the main GUI.
How would I create just a basic toolbar at the top, that would normally contain things like "file" and "edit"?
Thanks

-
Dixie
- Livecode Opensource Backer

- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
Post
by Dixie » Sat Aug 28, 2010 8:23 am
Hi p4trick...
Have a look at page 119 in the user guide... choose Tools > Menu Builder to open the Menu Builder..
be well
Dixie
-
p4tr1ck
- Posts: 36
- Joined: Mon Jun 14, 2010 4:58 pm
Post
by p4tr1ck » Sat Aug 28, 2010 4:09 pm
Okay, thanks a ton for your help =]
-
p4tr1ck
- Posts: 36
- Joined: Mon Jun 14, 2010 4:58 pm
Post
by p4tr1ck » Sat Aug 28, 2010 7:27 pm
One more question, how do I make the width of the menu bar to be the width of the card? I tried to use a script and it seemed to move everything over far to the left.
-
Dixie
- Livecode Opensource Backer

- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
Post
by Dixie » Sat Aug 28, 2010 8:17 pm
Hi...
I am assuming that you are running under windows since you want the menus in the card rather than having a menubar at the top of the screen as in MacOS X... So the answer is that you have to make your own... put a graphic behind the menu group.
I have attached a stack with such an example...
be well
Dixie
-
Attachments
-
- MenuBar in Stack.rev.zip
- (897 Bytes) Downloaded 323 times
-
p4tr1ck
- Posts: 36
- Joined: Mon Jun 14, 2010 4:58 pm
Post
by p4tr1ck » Sat Aug 28, 2010 10:32 pm
Thanks a lot for your help
Haha, okay, one off-topic question. How do I get rid of the asterisk (*) that appears next to my window title, implying that the document is unsaved? My app won't even save, its not for creation purposes.
Thanks

-
Dixie
- Livecode Opensource Backer

- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
Post
by Dixie » Sat Aug 28, 2010 11:34 pm
Hi...
Open the stack inspector and put something into the title field... once you have given the stack a title, the asterisk will then disapear ...
take care
Dixie
-
p4tr1ck
- Posts: 36
- Joined: Mon Jun 14, 2010 4:58 pm
Post
by p4tr1ck » Sun Aug 29, 2010 3:44 am
Okay thanks. And sorry to bother you with all these simple questions...I'm bad at figuring things out

One last question, this one about scripting. I know
answer file is good for getting a path, but it doesn't work for saving files. Is there an equivalent that doesn't give you a "file not found" error when you make something new?
I intend to impress my professor with this one =)
-
Dixie
- Livecode Opensource Backer

- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
Post
by Dixie » Sun Aug 29, 2010 4:05 am
Hi ...
There is no problem with asking questions... That is what the forum is for ... try 'ask file' as this displays a standard Save dialog for you to enter a file name and specify a location.... look at 'ask file' in the dictionary...
take care
Dixie
-
p4tr1ck
- Posts: 36
- Joined: Mon Jun 14, 2010 4:58 pm
Post
by p4tr1ck » Sun Aug 29, 2010 4:34 am
Wow your a lifesaver. Thanks so much for all this help you've given me

-
p4tr1ck
- Posts: 36
- Joined: Mon Jun 14, 2010 4:58 pm
Post
by p4tr1ck » Sun Aug 29, 2010 5:11 pm
Is it possible to send a message to an object in another stack?
Thanks
-
p4tr1ck
- Posts: 36
- Joined: Mon Jun 14, 2010 4:58 pm
Post
by p4tr1ck » Sun Aug 29, 2010 5:37 pm
Okay thanks.
-
Mark
- Livecode Opensource Backer

- Posts: 5150
- Joined: Thu Feb 23, 2006 9:24 pm
-
Contact:
Post
by Mark » Sun Aug 29, 2010 7:13 pm
Hi p4trick,
Of course it possible to send a message to another object (in another stack). Look up the commands send and call in the dictionary (see Help menu).
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode