Cableguy Expert Licensed User Longtime User Aug 28, 2024 #1 Hi guys, (and specially @alwaysbusy) I had come across this lib before, but didn't take too much time to understand it, so I kind of discarded it... But now it got me wondering.... Since we pass a map to the plugin, we can pass objects as well, so adding UI elements shouldn't be much difficult as passing a panel, of even a form, and add either a layout or add the views by code... but, where ( and how ) should the events and any other UI manipulation like Labels and such, be done? Other than returning objects in the Run method, I can't imagine how, without knowing before-hand the list of views to be handled.... SO... Any insights???
Hi guys, (and specially @alwaysbusy) I had come across this lib before, but didn't take too much time to understand it, so I kind of discarded it... But now it got me wondering.... Since we pass a map to the plugin, we can pass objects as well, so adding UI elements shouldn't be much difficult as passing a panel, of even a form, and add either a layout or add the views by code... but, where ( and how ) should the events and any other UI manipulation like Labels and such, be done? Other than returning objects in the Run method, I can't imagine how, without knowing before-hand the list of views to be handled.... SO... Any insights???
xulihang Well-Known Member Licensed User Longtime User Aug 30, 2024 #2 I've tried opening a form using ABPlugin: https://github.com/xulihang/BasicCA...4cd/plugins/itpFilter/itpFilterPlugin.bas#L66 Not very convenient without using the layout file. Upvote 0
I've tried opening a form using ABPlugin: https://github.com/xulihang/BasicCA...4cd/plugins/itpFilter/itpFilterPlugin.bas#L66 Not very convenient without using the layout file.
MichalK73 Well-Known Member Licensed User Longtime User Aug 30, 2024 #3 Wouldn't it be better to pass the name of a configuration file that describes what it should do, e.g. how to build a form either from a design file or according to your own code? Upvote 0
Wouldn't it be better to pass the name of a configuration file that describes what it should do, e.g. how to build a form either from a design file or according to your own code?