realbasic-nug
[Top] [All Lists]

Control Referencing

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Control Referencing
From: Tyler Vano <creysoft at yahoo dot com>
Date: Sat, 16 Mar 2002 18:50:37 -0800 (PST)
I need to be able to soft-reference controls. I.e.
reference a control without hard coding it.

For instance:

dim x as controlreference
x = editfield1.text
x.loc = "0,0"

Obviously this is pseudocode, but I hope it makes the
context clear. This is what it would look like in
xTalk:

put card field 1 into x
set the loc of card field x to "0,0"

Thanks,

 - Tyler

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/


<Prev in Thread] Current Thread [Next in Thread>