![]() |
Form Events |
Post Reply ![]() |
Author | |
antcella ![]() Newbie ![]() Joined: 20 January 2009 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() 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 ? |
|
![]() |
|
coolzsunil ![]() Groupie ![]() Joined: 18 March 2009 Status: Offline Points: 28 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
Baldur ![]() Senior Member ![]() Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
![]() ![]() ![]() ![]() ![]() |
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() |
|
![]() |
|
microdot ![]() Newbie ![]() Joined: 06 September 2010 Location: Spain Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |