realbasic-nug
[Top] [All Lists]

Re: Referencing values on other container controls

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Referencing values on other container controls
From: CV <atauqua at hit dot net>
Date: Fri, 30 Jun 2006 10:29:23 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <16D12D73-1E6B-4876-A55F-ACBAF3E5EB13 at webshifter dot com> <736D72D2-9710-4B1F-ADD5-68CFB6308A67 at hit dot net> <F10A87FE-9097-4950-9901-550FCA4AA5AF at cfl dot rr dot com>


From any methods you add the window, you can now access your editfield as such:

someText = cc.GetText

and

cc.SetText( "cool" )

Yes, although when you drag a container control named cc onto your window, Rb names it cc1, so the reference must be:

    someText = cc1.GetText or
    someText = cc1.ef.Text


Best,

Jack


_______________________________________________
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>


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