Search found 27 matches

by AndrewZabar
Wednesday 15th May 2024 1:03pm
Forum: Lounge
Topic: The wiki
Replies: 2
Views: 152

Re: The wiki

THANKS!
I understand about the bandwidth, makes sense.
by AndrewZabar
Wednesday 15th May 2024 11:18am
Forum: Lounge
Topic: The wiki
Replies: 2
Views: 152

The wiki

Hi all,
I wanted to know how can I register a login for the wiki. Also, I want to ask why on earth do you need to login in order to search? I've never seen a wiki that requires login in order to search for information. Thanks.
by AndrewZabar
Wednesday 15th May 2024 10:52am
Forum: Component
Topic: BUG: TabPanel
Replies: 9
Views: 323

Re: BUG: TabPanel

forget python ... Seriously? I read just yesterday that it is the easiest language that's widely used for developing Linux applications. What language would you recommend (if any) for a non-pro coder? I'm really an amateur but I've made quite a lot of applications over the years, some quite sophist...
by AndrewZabar
Tuesday 14th May 2024 6:24pm
Forum: Component
Topic: BUG: TabPanel
Replies: 9
Views: 323

Re: BUG: TabPanel

the tabPanel should auto-name afaik bruce shows you the way to get this behaviour ... Sweet, I'll look into it. I'm fine naming them it's just I didn't assume I had to lol. Anyway, thank you again for your patience with me :) Sincerely, I appreciate it. I wish the VB6/Gambas approach to development...
by AndrewZabar
Tuesday 14th May 2024 2:27pm
Forum: Component
Topic: BUG: TabPanel
Replies: 9
Views: 323

Re: BUG: TabPanel

https://gambaswiki.org/edit/comp/gb.form/tabpanel/count read ... try to understand ... OH good grief! So they were there, but just invisible. Hey when I read the basic documentation of the TabPanel, it said it inherited from TabStrip and then has enhancements. Awesome sauce, except with a tabStrip ...
by AndrewZabar
Tuesday 14th May 2024 1:35pm
Forum: Component
Topic: BUG: TabPanel
Replies: 9
Views: 323

Re: BUG: TabPanel

Okay but, see you set the text property. My code simply used the .Count = 4 for example. The documentation on .Count property says "returns or sets" and I think the problem is in the TabPanel, setting the count via this property does not work. Please see if you can do this without the .Tex...
by AndrewZabar
Sunday 12th May 2024 3:52pm
Forum: Component
Topic: BUG: TabPanel
Replies: 9
Views: 323

BUG: TabPanel

Hi, 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. A TabPanel co...
by AndrewZabar
Sunday 12th May 2024 3:34pm
Forum: General
Topic: Is there a more efficient way to set properties of each tab in a tabstrip?
Replies: 14
Views: 639

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

I have tried it again and again in slightly varying ways. It appears to be evident that the tabpanel does not reliably set tab count by using .count, only returns the value. Perhaps only under certain conditions, such as if it had already been modified in the IDE prior to launch. Could someone test ...
by AndrewZabar
Sunday 12th May 2024 1:27pm
Forum: General
Topic: Is there a more efficient way to set properties of each tab in a tabstrip?
Replies: 14
Views: 639

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

Really simple, to be honest.

Code: Select all

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.
by AndrewZabar
Saturday 11th May 2024 3:56pm
Forum: General
Topic: Is there a more efficient way to set properties of each tab in a tabstrip?
Replies: 14
Views: 639

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 ...