gettingstarted
[Top] [All Lists]

Re: reference to another window

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: reference to another window
From: CV <atauqua at hit dot net>
Date: Mon, 30 May 2005 06:54:55 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <55171CCB-2466-4183-BA1D-590CF703421C at heintz dot de>

On May 30, 2005, at 5:17 AM, Alexander Heintz wrote:

Hi there,

quick question from a newbie:

I open a window and pass its contructor as a reference the window that it got opened from.

What does your code look like for this?

More info is needed from you, but it's likely that win_parent is of data type Window, ie., an object of Rb's Window class, which doesn't have a lb_nodes data element.

How and where is win_parent declared?

Jack



in this new window i do:

win_parent.lb_nodes.expanded(win_parent.lb_nodes.listindex) = true

the compiler will not let me do this and tells me the object lb_nodes is not present. when i comment this out and debug, all looks fine: win_parent is the parent window with the control lb_nodes in the objects.
What am I doing wrong here?

Same when I try to access a property of that other window.



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