reference an object over a long ID

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
fredigertsch
Posts: 38
Joined: Mon Jan 03, 2011 5:42 pm

reference an object over a long ID

Post by fredigertsch » Fri Jan 07, 2011 2:47 pm

Hi there
I save the long ID of an object in a variable. How can I acces to a property from this object over the long ID in the saved variable?? Thanks for help.

Best, Fredi

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: reference an object over a long ID

Post by Klaus » Fri Jan 07, 2011 3:19 pm

Grüezi Fredi,

I just made little test and this works fine:

Code: Select all

on mouseUp
  put the long ID of fld 1 into tFld
  answer the text of tFld
end mouseUp
Hope that helps.


Best

Klaus

fredigertsch
Posts: 38
Joined: Mon Jan 03, 2011 5:42 pm

Re: reference an object over a long ID

Post by fredigertsch » Fri Jan 07, 2011 3:36 pm

Thanks Klaus.

Post Reply