I guess the question is how to obtain a reference to pass somewhere.
//---------------------------------------------//
class_newEdifield
//---
window_test.activate( myself or reference of this subclassed instance )
//--------------------------------------------//
//--------------------------------------------//
winow_test.activate( ref as newEditfield )
ref.text = "HELLO WORLD"
//--------------------------------------------//
In class_newEdifield I create lets say 5
each one lets say when gotFocus would pass a reference of itself to
the window_test.activate function.
how do I obtain this reference?
On Mar 17, 2006, at 3:40 PM, Joseph J. Strout wrote:
At 3:29 PM -0500 3/17/06, Joshua Demori wrote:
Is this possible?
1 - subclass an editfield
1a - in this class I want to pass a reference of this editfield to
a window
2 - this window could then change the text or other properties
through the reference.
how would you if you could do this?
Yes, it's possible -- I'm not sure I understand the "how" question.
To change the text, for example, you'd simply write:
theField.Text = someNewText
where "theField" is a reference to your EditField, and
"someNewText" is some new text.
If this doesn't clear it up for you, perhaps you can go into more
detail about what you find puzzling.
Best,
- Joe
--
Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>