Fields in Livecode

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

lemodizon
Posts: 219
Joined: Thu Apr 05, 2018 3:33 pm

Re: Fields in Livecode

Post by lemodizon »

Hi everyone,

you can check the file here below.

https://gofile.io/d/qnRw6t
Thank you & God Bless Everyone :wink:

Regards,
lemodizon
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Fileds in Livecode

Post by Klaus »

That stack really does not help, we already understood how but not what and when you are trying to do.
Again, please answer these questions:
So you have fixed values (70, 30, 60) after which the "column break" should happen?
Or any other "rule" for this?

We need to know WHEN the column-break has to happen or we cannot help you out!
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Fileds in Livecode

Post by richmond62 »

fixed values (70, 30, 60)
Um . . .

How about counting up to 10 and then starting a new column?
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Fileds in Livecode

Post by richmond62 »

Hmm . . . screws up on the TABs:
-
SShot 2022-01-23 at 17.27.34.png
-
Stack removed as "improved" version posted lower down.
Last edited by richmond62 on Sun Jan 23, 2022 4:46 pm, edited 1 time in total.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Fileds in Livecode

Post by richmond62 »

Ouch!

Debolloxed the TAB problem:
-
SShot 2022-01-23 at 17.41.14.png
-
Forgetting that TAB plays 'silly buggers' after strings of different length.

Stack removed as "improved" version posted lower down.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Fileds in Livecode

Post by richmond62 »

Using a Table Field is dead sexy:
-
SShot 2022-01-23 at 17.49.35.png
Attachments
Columnz.livecode.zip
Here's the stack.
(1.23 KiB) Downloaded 217 times
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Fileds in Livecode

Post by richmond62 »

Get rid of the grid:
-
SShot 2022-01-23 at 17.53.00.png
lemodizon
Posts: 219
Joined: Thu Apr 05, 2018 3:33 pm

Re: Fileds in Livecode

Post by lemodizon »

Klaus wrote: Sun Jan 23, 2022 2:00 pm That stack really does not help, we already understood how but not what and when you are trying to do.
Again, please answer these questions:
So you have fixed values (70, 30, 60) after which the "column break" should happen?
Or any other "rule" for this?

We need to know WHEN the column-break has to happen or we cannot help you out!

Hi Klaus,

I'm not sure if this is correct since it is per line once it reached line 7 ("L7") it will create a column or tab and start at Line 1 (L1) this will be "Col2" and once it the reached line 7 ("L7") it will create a column or tab and start at Line 1 (L1) this will be "Col3. the column will end if col3 reached line 7 ("L7").

Thanks Klaus.
Attachments
Fleids.JPG
Thank you & God Bless Everyone :wink:

Regards,
lemodizon
lemodizon
Posts: 219
Joined: Thu Apr 05, 2018 3:33 pm

Re: Fileds in Livecode

Post by lemodizon »

richmond62 wrote: Sun Jan 23, 2022 4:51 pm Using a Table Field is dead sexy:
-
SShot 2022-01-23 at 17.49.35.png
Hi Richmond62,

Wow, thanks for helping me... I just want to try and make like this see below. i saw this when i went to mcdonalds and i just want to try it in livecode if possible.

Thanks again.
Attachments
Capture.JPG
Thank you & God Bless Everyone :wink:

Regards,
lemodizon
Post Reply