views:

63

answers:

2

Hello,

I have a UIPicker (which loads as UIview when I click on a textbox control) I want the textbox to be populated with the values of the UIPicker as I scroll through them. Is this possible, I think the code should be placed in didSelectRow, but not quite sure how to do it.

Regards, Stephen

A: 

Problem solved.... route.text = [list objectAtIndex:row];

Stephen
A: 

Hello Stephen

I just wanted to ask a small doubt. How did you assign the Textbox control? I'm new to this. So any help is appreciated.

geevanlal
Geevanlal, I added the textbox through Interface Builder, and them unchecked the 'User Interaction Enabled'. Code is then required to detect the area is which the user has tapped. When this is detected you can call the UIPicker to appear. Hope this helps.
Stephen
Thanks a lot Stephen.
geevanlal