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
Location: Italy

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: 146
Joined: Fri Aug 16, 2019 7:51 pm

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"

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

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: 9580
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

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

Return to “Getting Started with LiveCode - Complete Beginners”