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

Form Events

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


Joined: 20 January 2009
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote antcella Quote  Post ReplyReply Direct Link To This Post Topic: Form Events
    Posted: 10 March 2010 at 11:02am
Hi,

i am using DockingPane and CommandBars.

on AttachPaneEvent i do:

Dim p As Pane = e.item

p.Title = "Properties"
p.Handle = Properties.Handle.ToInt32()


where Properties is a Form.

The Pane is shown with my form inside it, but the Load event of the form never fires.

I noticed that other form events too are dead.

What's the problem ?
Back to Top
coolzsunil View Drop Down
Groupie
Groupie


Joined: 18 March 2009
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote coolzsunil Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2010 at 12:47pm
Can you checkout the Docking Pane sample in C#.net supplied with the installation? I checked the Form Load event for the form that is embedded in the pane, and it was working fine.
Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2010 at 5:07am
In VB the form_Load-event is fired, if you first access any property of the form.
e.g:
 
p.Title = Properties.Caption <= will fire load-event
p.Handle = Properties.Handle.ToInt32()
Back to Top
microdot View Drop Down
Newbie
Newbie


Joined: 06 September 2010
Location: Spain
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote microdot Quote  Post ReplyReply Direct Link To This Post Posted: 06 September 2010 at 7:40pm

 

Hi !!
 
I have the same problem. In AttachPaneEvent I do:
 
dim P as Pane = e.item
P.Title = Panel_Capas.text
P.Handle = Panel_Capas.Handle.ToInt32()
 
I try too:
 
e.item.title = Panel_Capas.text
e.item.Handle = Panel_Capas.Handle.ToInt32()
 
Where Panel_Capas is a form with the "Text" property set to "Capas de mapa" but this not fire the Load_Event of Panel_Capas. What's the problem?  I need finish my app for next week and this is the last problem to make it.
 
Thanks in advance.
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.137 seconds.