just a textarea bug inside my code/
BlitzMax Forums/MaxGUI Module/just a textarea bug inside my code/
| ||
Hi ! Sorry to post long code here but i don't know why i can't enter text inside the only textarea of this source ! This should be a silly mistake inside my code ! But this evening i can't find where is my error. i read again and again the code ! you can download code here : http://www.bayre.com/2010/transition.bmx Click on 'modele de texte' inside the treeview and try to enter something inside the textarea ! Sorry for the french inside this code. Note than i've not the problem with the textfields ! Many thanks! |
| ||
Not that I really understand your code, looks strange to me:) What I saw is that you hide all your panels when acting on a GadgetSelect, which looks like a problem. Move the block HideGadget Panel_parametres HideGadget Panel_modele_image HideGadget Panel_modele_texte HideGadget Panel_modele_son HideGadget Panel_image_parent HideGadget Panel_image_fille HideGadget Panel_texte_parent HideGadget Panel_texte_fils HideGadget Panel_son underneath the Select EventSource() Case TreeView structure and hide them only when something is selected in the treeview. Works for me. |
| ||
works now here too. Many thanks you're a maxgui guru ! |
| ||
btw, when you create the panels you add all gadgets on top and hide the panel at the end. It is may better to do it the other way round, create the panel, hide it immediately and add all gadgets only then. The result will be less flicker during startup and it is only a very small change. |