Print Page | Close Window

Docking Pane w/ Form

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=5655
Printed Date: 07 July 2024 at 4:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking Pane w/ Form
Posted By: scottmcd9999
Subject: Docking Pane w/ Form
Date Posted: 30 November 2006 at 9:27pm
I've got a MDI form where I've added 3 panes. In one of those panes I've attached a form:

Set pan = .CreatePane(1, 200, 100, DockTopOf)
pan.SetHandle frmText.hWnd

Once I do this, how can I refer to this form from another portion of my program? For example, on this form I have a textbox named tbxName ... how would i refer to that textbox on frmText from another form in my application?   



Replies:
Posted By: choochy
Date Posted: 18 December 2006 at 6:26pm
Should be the usual was of doing this:
 
    frmText.tbxName
 
If you have created an instance of frmText than you would reference the instance instead. But it sounds like your referencing the form directly.
 
Chris



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net