[Gambas-user] Well another weirdo - create a copy of a control in a TabStrip to a newly created tab

Tobias Boege taboege at gmail.com
Sun Oct 28 15:10:56 CET 2018

On Sun, 28 Oct 2018, Me wrote:
> I thought this one would be easy... haha
> I have a tabstrip (call it "tabMain") that has a variable number of tabs in it, determined by the actions held on a particular date.
> Wthin each of those tabs I need (want) to create a child (call it "tabSchedule") that is another tabstrip. That child would be based on
> a "template" TabStrip control that is one the tabMain[0] tab.
> tabSchedule is quite complex, 7 tabs with about 80 controls. So I thought that maybe I could copy the "template" control as a new control in a 
> different location.
> Unless I have missed something obvious, this does not seem possible.

Yeah, I don't think this is possible. But how about replacing "template"
by "class" and "copy" by "creating a new instance" in your scheme?

Did you create custom controls with the form editor before? I can only
recommend it.


"There's an old saying: Don't change anything... ever!" -- Mr. Monk

More information about the User mailing list