Search found 1593 matches

by BruceSteers
Monday 13th May 2024 6:33pm
Forum: General
Topic: Is there a more efficient way to set properties of each tab in a tabstrip?
Replies: 14
Views: 166

Re: Is there a more efficient way to set properties of each tab in a tabstrip?

But then after saying all that.... You could just do this...... Here is a simple TabPanel upgrade that if you save this code as a file called TabPanel.class in your project .src folder it will add a "AutoTitle" property to TabPanel. attached is a project that shows it at work. It's really ...
by BruceSteers
Monday 13th May 2024 2:53pm
Forum: General
Topic: Is there a more efficient way to set properties of each tab in a tabstrip?
Replies: 14
Views: 166

Re: Is there a more efficient way to set properties of each tab in a tabstrip?

To my way of thinking this is either a poor piece of design or a bad implementation. So now I tend to agree with Andrew. Someone should do something about this! :? b Bagsy not me! i'm pestering Ben about enough bugs at present ;) (and i just moaned at him for dismissing a problem because it didn't ...
by BruceSteers
Monday 13th May 2024 11:20am
Forum: General
Topic: What are the differences between Tab Strip and Tab Panel?
Replies: 4
Views: 83

Re: What are the differences between Tab Strip and Tab Panel?

I think it's like the other Bruce said in the other post. They are there they just have no text It just looks like TabPanel only auto titles the first tab "Tab 1" but does not auto-title others set by code. (usually your tabs would not be titled Tab 1, Tab 2, etc but you would give them pr...
by BruceSteers
Sunday 12th May 2024 6:37pm
Forum: General
Topic: Is there a more efficient way to set properties of each tab in a tabstrip?
Replies: 14
Views: 166

Re: Is there a more efficient way to set properties of each tab in a tabstrip?

Really simple, to be honest. Public Sub Form_Open() TabPanel1.Count = 3 End Maybe I need to wait until the control is created? Where then would I put this code? This same code in the Form_Open() sub works perfectly with a tabStrip, just not a tabPanel. Andrew Post your code !. I tried this... Publi...
by BruceSteers
Sunday 12th May 2024 6:25pm
Forum: Component
Topic: BUG: TabPanel
Replies: 1
Views: 48

Re: BUG: TabPanel

I have been through a ton of troubleshooting and it seems my conclusion is accurate, despite some people saying it should work. Nobody else has tested it and produced desired results, so I am submitting this. If I'm wrong, by all means please prove so and show me what I need to do. I just tried thi...
by BruceSteers
Saturday 11th May 2024 8:28pm
Forum: General
Topic: IDE Project Tree "Configuration" folder
Replies: 3
Views: 82

Re: IDE Project Tree "Configuration" folder

Who knows.

Maybe the start of ,,,,,, drum roll,,,,,,, plugins :)

Maybe ask Ben if he has plans to do other things with it.
by BruceSteers
Saturday 11th May 2024 8:02pm
Forum: General
Topic: Is there a more efficient way to set properties of each tab in a tabstrip?
Replies: 14
Views: 166

Re: Is there a more efficient way to set properties of each tab in a tabstrip?

There a couple of things here. 1. As with many controls, the property values are not set to the IDE values until the control is actually loaded. It is similar for code set property values. So some things depend on when you are trying to setting them. 2. As Bruce said, the "tabs" are best ...
by BruceSteers
Saturday 11th May 2024 1:59pm
Forum: General
Topic: Is there a more efficient way to set properties of each tab in a tabstrip?
Replies: 14
Views: 166

Re: Is there a more efficient way to set properties of each tab in a tabstrip?

Something like

TabPanel1[1].Text = "title"

Accessing the TabPanel like an array accesses each tab independently
by BruceSteers
Saturday 11th May 2024 9:14am
Forum: General
Topic: IDE Project Tree "Configuration" folder
Replies: 3
Views: 82

Re: IDE Project Tree "Configuration" folder

I think it's for highlight files. gb.highlight now supports your own highlight definition files that can be a part of your project and do not have to be a part of gambas (unlike when i made the sh highlight) This was the commit https://gitlab.com/gambas/gambas/-/commit/3484a2c7a257a836019f2e55c916be...
by BruceSteers
Friday 10th May 2024 5:38pm
Forum: General
Topic: What are the differences between Tab Strip and Tab Panel?
Replies: 4
Views: 83

Re: What are the differences between Tab Strip and Tab Panel?

TabPanel is the enhanced version.

TabStrip is basically the component qt5 gives us.

TabPanel is a gambas object that is an enhanced tabstrip that has more features but is also is more configurable when you know how to hack gambas controls :)