I am trying to setup user security on a form. I have a database of control
names that I want to enable or disable based on the user's access rights.
I've written a function that handles all the other control objects (text
boxes, grids, combo boxes, command buttons, etc.) But, I cannot get to the
tool bar buttons off of a name.
I guess for tool bar buttons, I could use the index to reference the button.
But then I'd also have to store the toolbar name in my database table, which
would require a table change. And we all know how much DBA's like to make
table changes... ;o)
-Barry
"Armin Zingler" <az*******@freenet.de> wrote in message
news:el**************@TK2MSFTNGP09.phx.gbl...
"Barry Gast" <ba****@nycap.rr.com> schrieb Hi. I am trying to access the names of the toolbar buttons in order
to match to correct button name passed to a function. However, there
is no .Name property on a ToolBarButton control. Is there any other
way to access the name of the toolbarbutton?
A ToolBarButton object does not have a name. References can be compared
using the Is operator, but why do you need this?
--
Armin
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html