realbasic-nug
[Top] [All Lists]

More container questions?

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: More container questions?
From: "Michael" <mdeh at comcast dot net>
Date: Wed, 29 Nov 2006 00:38:51 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
I get the container control to show itself, with the following code in the open-event of the tab panel.

  dim ccPC as new ccPrefControl
ccPC.EmbedWithinPanel(TPanel,c_anesDocs_Page,c_cc_LEFT,c_cc_TOP)// c_cc are constant integers

but, I cannot get the container control to show itself in the correct panel when I change panels.

have tried

(in the change event of the tab-panel)


ccPC.panelIndex=1 // This method or property does not exist
control(ccPC).panelIndex = 2// Illegal cast exception...I guess a containerControl is not a control :-)


Any help would be appreciated.

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