Stephen Leban's Colored Tabs

B

Bill

I see where Stephen Lebans "Colored Tabs"
utility gets the color from the control's Tag
property, but It's not clear that simply setting
the Tag is what establishes the connection to
his code. I.e., I don't know what has to be
done such that his code is given control when
the form displays. It wouldn't seem that a
numerical value in the Tag would somehow
identify the code to be run.

Anyone know what I need to do? Stephen?

Bill
 
B

Bill

See Leban's reply to the "Tab Controls" thread,
where he offered some previously posted
information on the subject. At this posting,
he hasn't yet replied to the follow-up question
regarding clarification of the central question.
Bill
 
D

Douglas J. Steele

Pardon my bluntness, but I don't understand why you expect Stephen to
respond to your question.

The code works. You'll have to make the decision as to whether you're
willing to use it without fully understanding how it works, just the same as
you've had to accept that Access works without knowing the intricacies of
how it's coded.

That having been said, do a search for .Tag in clsTab. The value stored in
the Tag property is used to set m_BGControl.BackColor.
 
B

Bill

All I was asking was a simple educational clarification
regarding classes and whether is was the statement:
TB.MakeTabs that made the eventual link to his code.
Since MakeTabs is a public function within his code,
I assumed but was not certain, that was it.

I was expecting Stephen in essence to close the thread
with something like: "that is correct" or "not quite, it
is the invocation statement bla bla bla that gets things
going".

I'm sorry if you found my question to be offensive.

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top