Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-06-2009, 06:09 PM   #1 (permalink)
New Member
 
Join Date: May 2009
Posts: 1
Default UITextField and UITextView functionality?

Hi all,

I'm new here and have been doing a lot of reading... My app is basically working, but I wanted to see if I've hopefully missed some UITextField and UITextView functionality, before I resign to live without it.

What I want is a single line editable control that scrolls horizontally and notifies the app on "done"/return. I also want to allow the user to press some explicit UI buttons (in addition to the standard keyboard) to perform certain kinds of edits, at the current cursor/insertion point.

So here are my questions... Thanks in advance for any help!

1. can I replace the keyboard layout with a new layout that would redistribute the symbol keys, so all the ones I care about are on the same "page" (then I would not need my explicit UI buttons). It seems I have to go outside the "official" SDK to do this.

2. can I get the cursor position from a UITextField? I know how to do this for a UITextView, but not for a UITextField. Also, I can get the position of the last change easily enough, but that won't tell me if the user *just* moved the cursor, without changing anything else.

3. can I configure a UITextView for single-line editing and horizontal scrolling? It seems I can easily intercept the "done"/return key to spoof single-line mode, but I can't get horizontal scrolling when the user input exceeds the view's horizontal size, and if I vertically size the view less than 3 lines high, even the vertical scrolling breaks.

-- Rich
rtestardi is offline   Reply With Quote
Reply

Bookmarks

Tags
cursor, scroll, uitextfield, uitextview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 259
17 members and 242 guests
ADY, Alsahir, dacapo, Dani77, Desert Diva, djohnson, F_Bryant, Grinarn, HemiMG, jansan, linkmx, M@realobjects, macquitzon216, prchn4christ, smethorst, spiderguy84
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,882
Threads: 89,228
Posts: 380,762
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jansan
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:49 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0