Hello friends,
I have a ECtabctrl, a combobox and a Notebook, all linked in a way that whenever I add or remove or switch a tab the list of items in the combobox and the pages in the notebook are updated. Pages contain different kind of frames (Point of sale, store, invoices, customers...) and are generated at runtime. Employees have an user id. Everything fine up to here.
Now, I am struggling to do the following with no success: The active tab has to be always yellow with geen bold fonts. The rest of the tabs must have regular default colored fonts, and their tab color will depend on the user id. If no user id is available (employee hast opened a pos with out identifying himself) the tab color will be the default clForm.
1 = active tab (it is also called visible tab? I have some confusion here, TabIndex != VisibleTabIndex)
2 = inactive tabs, hidden notebook pages
3 = combobox with captions of the pages
4 = minimize, close, lock, etc buttons
I'll post some code.