Gambas
Jump to navigation
Jump to search
This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!
|
Reference
Woozle Notes
I'm currently trying to learn Gambas, as it appears the easiest of the Linux IDEs I've been able to find so far. Here are the issues I've run into so far.
- The form resize event doesn't pass the form's size as an event parameter -- but the size is easily available as a form property. So this issue was just over-VisualBasicization on my part.
- When you make a set of controls into a group and then assign an event to the group, how do you get a pointer back to the control which initiated the event? Still working on this. The most obvious solution would have been for the event to pass the control as a parameter; Gambas events don't seem to use parameters. Another intuitive solution would have been for the group itself to appear on the form's list of controls/methods, as an alias for the currently active/effective control, but this doesn't seem to be the case. Finally, if the form had an ActiveControl property, I could pull the .Tag value from there, although I would expect to run into problems using this technique under some circumstances.