herculanojs Posted May 22, 2016 Posted May 22, 2016 I have a problem I do not know how to solve and need help. There is a bug in Unipanel component when the Collapsed property is set to true. Once the form initializes (show), the panel no longer opens. It completely caught not making the collapse. If the panel is collapsed with False, functions normally. But I need it to start collapsed when the show form. How should I proceed? Help Tengo un problema que no sé cómo resolver y necesitan ayuda. Hay un error en el componente Unipanel cuando la propiedad Collapsed se establece en true. Una vez que se inicie la forma (mostrar), el panel ya no se abre. Es completamente atrapado no hacer el colapso. Si el panel está Collapsed en FALSE las funciones normalmente. Pero necesito que se inicie Collapsed = true. ¿Qué tengo que hacer? ayudar Project1.rar Quote
jahlxx Posted May 22, 2016 Posted May 22, 2016 I put colapsed in true and in the onshow of the form, I do unipanel.collapse Quote
herculanojs Posted May 22, 2016 Author Posted May 22, 2016 There uni this event panel.collapse in TUniPanel Quote
herculanojs Posted May 22, 2016 Author Posted May 22, 2016 I got the solution through this post http://forums.unigui.com/index.php?/topic/4411-tunipanel-collapsible-problem/?hl=collapsed In onShow form if UniPanel1.Collapsible then UniSession.AddJS('Ext.onReady(function () {' + UniPanel1.JSName + '.collapse()});'); Thanks a lot for the help Quote
ric_rio Posted August 25, 2016 Posted August 25, 2016 Hi.. Very good if UniPanel1.Collapsible then UniSession.AddJS('Ext.onReady(function () {' + UniPanel1.JSName + '.collapse()});'); Tanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.