Hi there,
I would like to create some kind of start menu for my tool.
The menu should popup just once after the very first start. In this menu
I want to give the user some design specific options.
Can someone please explaine me how to create such a menu ?
regards
Nibor
Some kind of start menu
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Some kind of start menu
Hi.
You can easily create or show an object of any kind at the first start, and set a property that will prevent that event thereafter. A bit of code in the "openstack" script ought to do, and that is where you can set the property to run only the first time the stack is opened.
What sort of "menu" did you have in mind? One of the several button styles? A menubar item? Perhaps an "answer" dialog box with choices?
Craig Newman
You can easily create or show an object of any kind at the first start, and set a property that will prevent that event thereafter. A bit of code in the "openstack" script ought to do, and that is where you can set the property to run only the first time the stack is opened.
What sort of "menu" did you have in mind? One of the several button styles? A menubar item? Perhaps an "answer" dialog box with choices?
Craig Newman
Re: Some kind of start menu
Hi,
I guess it will be a pretty simple menu with maybe a few textfields
and buttons. I should be a kind of login window for a database.
At the moment it's hardcoded and only I can connect to my own database,
but I want to change it so that when you start this tool for the very first time
it will ask you about your login information server, password and stuff like this
these things will be saved and will be used for further uses of this tool.
regards.
Nibor
I guess it will be a pretty simple menu with maybe a few textfields
and buttons. I should be a kind of login window for a database.
At the moment it's hardcoded and only I can connect to my own database,
but I want to change it so that when you start this tool for the very first time
it will ask you about your login information server, password and stuff like this
these things will be saved and will be used for further uses of this tool.
regards.
Nibor
Re: Some kind of start menu
Ah.
This is not what we know of as a "menu", but that is really not so important. You will rather want to make a small stack with all your initialization gadgets on it.
The other part of the job is to show this stack only the very first time the main stack opens. It can lie dormant forever after. How much experience with LiveCode do you have? Will this be a standalone?
All very simple, fortunately.
Craig Newman
This is not what we know of as a "menu", but that is really not so important. You will rather want to make a small stack with all your initialization gadgets on it.
The other part of the job is to show this stack only the very first time the main stack opens. It can lie dormant forever after. How much experience with LiveCode do you have? Will this be a standalone?
All very simple, fortunately.
Craig Newman
Re: Some kind of start menu
Hi,
well.. I'm not that experienced with LC
it's a part of my education and I should take a look into it.
Yeah it should be a standalone at the end.
regards
Nibor
well.. I'm not that experienced with LC
it's a part of my education and I should take a look into it.
Yeah it should be a standalone at the end.
regards
Nibor