P
Paul Palmero
Hi, reading some posts i found that is a known bug that the AfterSelect
event for a TreeView does not allow a newly created form to be sent to front
( it displays the form but the MainMenu is from the previous form).
eg:
Have Form1 and Form2 (both created : Form1 visible and Form2 hidden)
Form1 has a TreeView and in the AfterSelect event it does: Form2.Show() ,
Form1.Hide()
well, it shows form2 but the Main Menu is from Form1.
this behaviour does not happen when calling the show-hide methods from a
button click event.
I have tried to set the menu again ( Form2.Menu = theMenu), etc.. but no
go..
Any one has experienced this ?
Workaround ?
Thanks
Paul Palmero Dpto. sistemas
(e-mail address removed) --------------------------------------------
------------------------------------ - Este E-mail es confidencial. Según lo
previsto en la ley orgánica 15/1999 de la protección de los datos. Si usted
ha recibido este E-mail por error entonces pongase en contacto con nosotros
inmediatamente en (e-mail address removed) . Si usted no es el destinatario
previsto destruya por favor el correo y cualquier documento asociado
inmediatamente, pues no está autorizado y no debe divulgar, copiar,
distribuir o conservar todo o una parte de este E-mail sin nuestra
autorización. - This e-mail is confidential. It is intended for the
addressee(s)only according to the Statutory Data Protection Law 15/1999. If
you have received this e-mail in error then please contact us immediately at
(e-mail address removed) . If you are not the intended recipient please destroy
the mail and and any associated documents immediately, as you are not
authorised to & must not disclose, copy, distribute or retain all or part of
this e-mail without our authority. Appeyron Research s.a. -
(e-mail address removed) ----------------------------------------------------------
----------------------
event for a TreeView does not allow a newly created form to be sent to front
( it displays the form but the MainMenu is from the previous form).
eg:
Have Form1 and Form2 (both created : Form1 visible and Form2 hidden)
Form1 has a TreeView and in the AfterSelect event it does: Form2.Show() ,
Form1.Hide()
well, it shows form2 but the Main Menu is from Form1.
this behaviour does not happen when calling the show-hide methods from a
button click event.
I have tried to set the menu again ( Form2.Menu = theMenu), etc.. but no
go..
Any one has experienced this ?
Workaround ?
Thanks
Paul Palmero Dpto. sistemas
(e-mail address removed) --------------------------------------------
------------------------------------ - Este E-mail es confidencial. Según lo
previsto en la ley orgánica 15/1999 de la protección de los datos. Si usted
ha recibido este E-mail por error entonces pongase en contacto con nosotros
inmediatamente en (e-mail address removed) . Si usted no es el destinatario
previsto destruya por favor el correo y cualquier documento asociado
inmediatamente, pues no está autorizado y no debe divulgar, copiar,
distribuir o conservar todo o una parte de este E-mail sin nuestra
autorización. - This e-mail is confidential. It is intended for the
addressee(s)only according to the Statutory Data Protection Law 15/1999. If
you have received this e-mail in error then please contact us immediately at
(e-mail address removed) . If you are not the intended recipient please destroy
the mail and and any associated documents immediately, as you are not
authorised to & must not disclose, copy, distribute or retain all or part of
this e-mail without our authority. Appeyron Research s.a. -
(e-mail address removed) ----------------------------------------------------------
----------------------