Is there a shorter way?
m.schonewille at economy-x-talk.com
Thu Jul 2 03:12:11 EDT 2015
// put the long id into a variable
put "First Group" into Field "Company" of card "CompanyData" of stack
"ShareAnalysis" into myLongID
put the text of myLongID into mySomeText
send "textChanged" to myLongID
set the text of myLongID to mySomeText
Economy-x-Talk Consulting and Software Engineering
Installer Maker for LiveCode:
Buy my new book "Programming LiveCode for the Real Beginner"
LiveCode on Facebook:
On 7/2/2015 06:52, Peter W A Wood wrote:
> I’m accessing objects in another stack with code like this:
> put "First Group" into Field "Company" of card "CompanyData" of stack "ShareAnalysis"
> send textChanged to Field "Company" of card "CompanyData" of stack “ShareAnalysis"
> Is there a shorter way of achieving this?
> Even better, is there a way I can store a reference to the Field in a variable and use that instead of Field of Card of Stack?
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode