In the open event of my window (“cc”), I declare and embed a container (“containerToolbars”) containing my toolbars:
dim tools as new containerToolbars
tools.embedWithin(me,0,0,tools.width,tools.height)
tools.toolbarTabs.enabled = false
… this shows the container with the toolbars.
My user logs in (in a login container) which should enable the toolbars, but I get a nil object exception when trying to enable the toolbar or even identify the container. My programming is in a module called “session.” (This is clearly working).
My session.login programming is:
cc.tools.toolbarTabs.enabled = true
I’ve backed it out to:
cc.tools.enabled = true
, but I still get the nil object exception. I’m thinking this has to be a brain-fart, but can’t figger it out.