General information
Title:
Looping through controls collection
I am trying to implement security on a control level in my appllication. I lookup in a sql server to see if the user has access to a control and enable or disabled it accordingly. My forms are all class forms that have a good bit of basic functionality built in along with the standard buttons for add, edit, etc...
It seems to be working great except for the fact that the controls that aren't controls contained in the base form don't show up. I have 2 buttons on the form level and when I iterate through the controls on the form those 2 never show up.
I can even put a set step in my code and look at THISFORM in the watch window and can't see them.
Any idea on what may be happening here?
As always. Thanks in advance.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only