req: field.charToPos() and field.posToChar()

Discuss OrbForms Designer and PocketC Architect

Postby design4use on Tue Oct 08, 2002 9:42 pm

This is an enhancement request for UIField objects:

- int pos2char(point whichPos) which would return which character of the field text is underneath the point given, based on the fields origin
- point charToPos(int n) which would return a point object(x,y) that char n of the field is located at, based on the field's origin.

This functionaliy can be replicated in OrbForms by asking for the fields font, then computing where each line breaks, but it's dog slow and much better handled natively.

Thanks for listening in advance,
d4u
design4use
 
Posts: 128
Joined: Fri May 10, 2002 3:31 pm

Postby dewey on Wed Oct 09, 2002 2:32 am

I have added it to the request list, may show up in 1.3
dewey
Site Admin
 
Posts: 749
Joined: Sun Oct 21, 2007 5:12 am

Postby design4use on Wed Oct 09, 2002 3:26 pm

Thanks for considering. This would remove a big roadblock on my project.
design4use
 
Posts: 128
Joined: Fri May 10, 2002 3:31 pm


Return to OrbForms Designer and PocketC Architect

Who is online

Users browsing this forum: No registered users and 3 guests

cron