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!
It is strange, however substacks have a numerical order. The first substack is recognized as number 1 stack, and so on. From mainstack, it is possible to go to any substack using GO TO STACK (ORDER NUMBER). Is it really not possible to use this order to go from the previous to the next?
In fact, I'm looking for a way to create forms that are different sizes and positions (and of course with next / previous control buttons). But all the cards in a stack are locked to the limits and the position of the stack, is not it?
pascalh4 wrote:It is strange, however substacks have a numerical order. The first substack is recognized as number 1 stack, and so on. From mainstack, it is possible to go to any substack using GO TO STACK (ORDER NUMBER). Is it really not possible to use this order to go from the previous to the next?
Do you really think we are concealing somthing from you?
Create your own numbered stack list and use that for your PREVIOUS and NEXT stack navigation!
pascalh4 wrote:In fact, I'm looking for a way to create forms that are different sizes and positions (and of course with next / previous control buttons). But all the cards in a stack are locked to the limits and the position of the stack, is not it?
Yes, CARD size/form etc = stack size/form etc.
I think you are looking for WINDOWSHAPE, see dictionary.
But this will affect the complet stack (and thus all cards in it!).
Do you really think we are concealing somthing from you?
Yes, of course, also all is in English just for that.
Create your own numbered stack list and use that for your PREVIOUS and NEXT stack navigation!
I tried, but I did not really succeed. Should the numérotion automatically by a copy of stack, for example. I am looking for!
I think you are looking for WINDOWSHAPE, see dictionary.
It is not exactly that! I seek only the way to display standard windows of different sizes and at different locations. I don't want to have an original form, however.
Do you really think we are concealing somthing from you?
Yes, of course, also all is in English just for that.
Mon dieu, quelle impertinence
pascalh4 wrote:
Create your own numbered stack list and use that for your PREVIOUS and NEXT stack navigation!
I tried, but I did not really succeed. Should the numérotion automatically by a copy of stack, for example. I am looking for! l
I thought that you create a list inclusive enumaration of the substacks by yourself and use THAT list to go PREVIOUS and NEXT!
So YOU decide what next ans previous stack will be!
pascalh4 wrote:
I think you are looking for WINDOWSHAPE, see dictionary.
It is not exactly that! I seek only the way to display standard windows of different sizes and at different locations.
Just use and place your substacks wherever you like!
pascalh4 wrote:I don't want to have an original form, however.l
Sorry, don't understand.
A stack is ALWAYS a rectangle unless you set its WINDOWSHAPE!?
A stack is ALWAYS a rectangle unless you set its WINDOWSHAPE!?
Exactly, I want to keep a rectangular shape and, therefore, I do not think I need windowshape.
Just use and place your substacks wherever you like!
That I understood. This is the way to go from one to another that interests me.
I thought that you create a list inclusive enumaration of the substacks by yourself and use THAT list to go PREVIOUS and NEXT!
So YOU decide what next ans previous stack will be!
Here, I don't understand the method!
I looked at the ID property in the dictionary but again I find it hard to understand the process
on mouseUp
hide button "Nouvelle Fiche"
show button "Sauver la fiche"
put substacks of stack "Outils de création" into it
go to it
put char 2 of the name of stack it into tNum
add 1 to tNum
Here error message to last line (add 1 to tNum)!
button "Nouvelle Fiche": execution error at line 7 (add: destination has a bad format (numeric?)), char 1
Possibly
I'm not clear on:
"put substacks of stack "Outils de création" into it"
but, you shouldn't use the "it" variable as it is an LC variable.
Also that line looks like you are placing more than 1 stack into "it"? Which then says "go to all of these stacks"?
"put char 2 of the name of stack it into tNum"
If there is more then one stack in it...which one?
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!