Maybe I'm missing something here but instances of objects are variables? Or is 
the question how does thisform know about the existence of myobj?

--

rk
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Jeff Johnson
Sent: Wednesday, August 13, 2014 12:43 PM
To: [email protected]
Subject: Proper way to reference a control

I want to assign a value to a control and then refresh it:

     thisform.txtimf.value = myobj.imf
     thisform.txtimf.refresh()

Where txtimf is a textbox and myobj.imf is a property of an object

I want to generalize this process with variables:

     thisform.txt ? .value = myobj. ?
     thisform.txt ? .refresh()

and I can't seem to get it right.

Any ideas?


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD04423C36D3F96@ACKBWDDQH1.artfact.local
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to