https://wiki.servoy.com/display/DOCS/Form+Component
The wiki article talks about the implementation via code, but I'm curious more about how this works UX wise.
WHAT I WANT TO DO
Create my own 'components', just like the built-in Servoy ones. Like a Drop Down or a Badge. But I believe this is beyond the scope of Servoy.
As the wiki says,
Form Component in the Solution Explorer Tree is a special contained form used for simplified design and runtime optimization for the NGClient. The same behavior can be achieved via tabless tabpanel, but form component has optimized display because all elements are part of the same form, taking away the overhead of tabpanel and loading of another form.
So, it's more that it's a form that is embedded into another form. I assume the concept is to like, have a small collection of Servoy Components in this one, such that it can be reused?
What confuses me is, how do I actually change the values of the elements within the form component? And how or where do I set the onAction events?
For Example;
If I have a button in a Form Component, how do I set it's onClick event? Is it on the form it'll be embedded in, like within an onShow or onLoad event?
Also, how exactly do I display the Form Component? I assume by the FormComponentContainer right? But what exactly does List FormComponent Container do differently?