Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Docking Pane w/ Form
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Docking Pane w/ Form

 Post Reply Post Reply
Author
Message
scottmcd9999 View Drop Down
Newbie
Newbie


Joined: 30 November 2006
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote scottmcd9999 Quote  Post ReplyReply Direct Link To This Post Topic: Docking Pane w/ Form
    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?   
Back to Top
choochy View Drop Down
Groupie
Groupie
Avatar

Joined: 27 October 2006
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote choochy Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.