Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - SOLVED: Docked forms
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: Docked forms

 Post Reply Post Reply
Author
Message
ElvisM View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 October 2006
Location: Venezuela
Status: Offline
Points: 129
Post Options Post Options   Thanks (0) Thanks(0)   Quote ElvisM Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: Docked forms
    Posted: 03 August 2008 at 11:49pm
Hi friends.
I don't know if this issue is about Codejock or VB6...
 
I'm using two forms, Form1 and Form2. The Form2 is docked into the Form1, in this program I can open until 3 instances of the Form1.
 
How can I refer from the form2 (docked) the Form1? if I don't know whats is the instance that's calling the form2.
 
Is very difficult to me explain you, cause my low level of english.
But, I'm going to try to explain you.
 
1) In ther form2 (docked) I need to execute a sub in the Form1.
2) I open Form1 that has the form2 docked.
3) When the form 2 executes the procedure in the form1, another form1 is automatcly opened. I dont know how to refer the apropiated form1.
 
I hope the you understandme..
 
Regards,
Elvis
Product: Xtreme SuitePro (ActiveX) version 17.2
Platform: Windows 10 64bits
Language: Visual Basic 2015
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 August 2008 at 3:59am
Add variable in Form2 and set it when you create it.
 
Form2 frm = new Form2
frm.Frm1 = me
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.109 seconds.