>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.
Are these two controls in some other container, like a container or a pageframe or something like that? You'd have to drill down into the container to see them.