Align a graphic with a specific character in a field?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Align a graphic with a specific character in a field?
Say I had a downward pointing arrow that I wanted to align over the top of a field, and the arrow would point to a specific found character in the field. And the location of that character could change, so it's location would need to be determined in order to center the arrow over it. Possible?
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Align a graphic with a specific character in a field?
Hi,
You may use selectedloc after you have selected a char in the field.
Something like that
...
select char n of fld "myField"
get the selectedloc
....
Best regards
Jean-Marc
You may use selectedloc after you have selected a char in the field.
Something like that
...
select char n of fld "myField"
get the selectedloc
....
Best regards
Jean-Marc
https://alternatic.ch
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Align a graphic with a specific character in a field?
Perfect, thank you!