Dear visitor, welcome to Jabaco - Community.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Control Functions
Hi guys
I want make functions that returns:
- how many controls are in a form or a control.
- which control is positioned closer to the bottom of the control container in which it is inserted
Thanks in Advance.
Hi A1880:
I saw this post and saw that you put a solution there, but looks like this solution serves only to user controls.
I would suggest to put Manuel that somehow we could simulate in a For Each Forms.
I think it's very useful resource and should be in the framework
Best regards
It should be possible to traverse the hierarchy of Java swing components behind a Jabaco form.
"Form" is a descendant class of JFrame, which is a "Container" of "Components".
I have to confess that I am not deep enough in Java swing to figure this out.
The extension of the Jabaco Form with a collection of Controls could be easily accomplished by extending the Add()
method were every Control has to go through. This would be the place to maintain the collection of controls.
Care has to be taken though to handle deleted controls and control arrays.
Volunteers for the framework are alwas welcome!
Greetings
A1880