Help with selecting text in a field
Posted: Tue May 15, 2012 12:53 am
In a normal list field, you can select a line of text and identify the line selected.
I wish to do the same thing under slightly different circumstances.
The field will be on an iPhone. The field width is not wide enough to display what is contained in a line, so I turned off list behavior and dontwrap.
Now, however, I would like to be able to click (touch) that first entry (which because it wrapped around, may cover two to three lines) and have the result of that touch do something.
I have placed a blank line as a separator after each entry that completes the text that is in "one line" but wraps around.
For example, the data in the field might look like this: (the data was entered on one line, not several, when displayed with dontwrap, it wraps.)
This is the first line of
information that I would like
to select.
This is the second line of inform-
ation that I would like to select
Any ideas? (It seems that with list behavior on, i cannot turn off dontwrap.)
Thanks in advance for your suggestions. They are really appreciated.
Peter
I wish to do the same thing under slightly different circumstances.
The field will be on an iPhone. The field width is not wide enough to display what is contained in a line, so I turned off list behavior and dontwrap.
Now, however, I would like to be able to click (touch) that first entry (which because it wrapped around, may cover two to three lines) and have the result of that touch do something.
I have placed a blank line as a separator after each entry that completes the text that is in "one line" but wraps around.
For example, the data in the field might look like this: (the data was entered on one line, not several, when displayed with dontwrap, it wraps.)
This is the first line of
information that I would like
to select.
This is the second line of inform-
ation that I would like to select
Any ideas? (It seems that with list behavior on, i cannot turn off dontwrap.)
Thanks in advance for your suggestions. They are really appreciated.
Peter