characters on a field

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

Post Reply
Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm

characters on a field

Post by Samuele » Wed Jan 19, 2022 10:09 pm

Hi, how can i check how many characters are there on an android native field?
tahnks!
(P.S, for @klaus, yes i checked the dictionary :wink: )
Samuele.

andresdt
Posts: 156
Joined: Fri Aug 16, 2019 7:51 pm
Contact:

Re: characters on a field

Post by andresdt » Wed Jan 19, 2022 10:43 pm

use the text property

Code: Select all

put the number of chars of the text of widget "Android Native Field"
Be kind, we all have our own wars.
https://torocruzand.com/

Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm

Re: characters on a field

Post by Samuele » Thu Jan 20, 2022 12:50 pm

thank you! worked.
Samuele.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10317
Joined: Wed May 06, 2009 2:28 pm

Re: characters on a field

Post by dunbarx » Mon Jan 31, 2022 9:48 pm

Or you can

Code: Select all

put the length of ...
Craig

Post Reply