Print Page | Close Window

Form Events

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=16407
Printed Date: 02 May 2024 at 9:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Form Events
Posted By: antcella
Subject: Form Events
Date 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 ?



Replies:
Posted By: coolzsunil
Date 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.


Posted By: Baldur
Date 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()


Posted By: microdot
Date 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.



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