Re: [Gambas-user] How to dynamically add & populate variable number of tabs at runtime?

2017-04-19 Thread T Lee Davidson
Thank you, Matti. That got me started. I now have a working test model that will create a variable (unknown at design-time) number of tabs and populate each of them with a _visible_ GridView. It works great. The form now has a ValueBox to input the number of tabs to create, an AddTabs button,

Re: [Gambas-user] How to dynamically add & populate variable number of tabs at runtime?

2017-04-18 Thread Matti
Hi Lee, first of all, you have to give the GridView a X, Y, width and height. Otherwise it's there but doesn't show. To reference the GridViews, create an array of them and address them as GridView[0], GridView[1] and so on. The [i] is the number of the TabStrip index. Here is an example of wh

[Gambas-user] How to dynamically add & populate variable number of tabs at runtime?

2017-04-18 Thread T Lee Davidson
Hello Folks, I have been trying to figure out how to, at runtime, create a variable number of new tabs in a TabStrip, populate those tabs with Controls, and then be able to reference those controls, all dynamically. There seems to be little information available as to how to 1) dynamically cre