Native Control Messages

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Doug Lyman
Posts: 30
Joined: Thu Jun 30, 2011 6:13 am

Native Control Messages

Post by Doug Lyman »

How does one retrieve the input id of a native IOS control inside of an "inputBeginEditing" message?
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: Native Control Messages

Post by bn »

Hi Doug,

wouldn't

iphoneControlTarget()

get you the id?

from the iOS Release Notes
While in the context of a message that has been dispatched from a native control, you can use the iphoneControlTarget() function to fetch the name (or id, if no name is set) of the control that sent the message.
KInd regards

Bernd
Doug Lyman
Posts: 30
Joined: Thu Jun 30, 2011 6:13 am

Re: Native Control Messages

Post by Doug Lyman »

Perfect! I obviously did not dig deep enough into the doc. Thanks for saving me some time Bernd.

Best,

Doug.
Post Reply