Active panel with a label
BlitzMax Forums/MaxGUI Module/Active panel with a label
| ||
I am having some success with a property grid control using MaxGUI. I am using an active panel for the category headers. When the user clicks on the header, it shows or hides the category properties.![]() However, the label on the header covers up a section of the panel, and if the user clicks on this nothing happens. In theory I could use an image for the text, but that is a pretty horrific work-around. Any ideas? You can just run this code without the two bitmaps it uses, and it will work: |
| ||
Hey, This is looking very nice! Have you tried calling SetGadgetSensitivity( label, SENSITIZE_MOUSE ) on the label, so that it emits mouse events? The following appears to work as might be expected: I cleaned up a minor thing whereby the text-fields didn't take into account the indentation, and swapped a few literals for their equivalent constants, but it is effectively the same code as before. Hope this helps... Seb |
| ||
Use SetGadgetSensitivity( gadget:TGadget, flags ) ... edit: too late... |
| ||
Thanks! It may take a few days to finish this, but it will be really good when I post it. |