CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2006
    Posts
    645

    C# Outlook 2010 Form Regions controls

    Hi all,
    Currently I am having trouble accessing the Visible property of Olk controls instance on the Form Region. Why is it that for these controls, I can just do MyControl.Property = value but not in case of Visible property, which is not available for Olk controls.
    Why is this property not available to user and is there any purpose being served doing such a thing?
    Also, is there a easy way I can do this?
    Thanks,
    Bhushan.

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: C# Outlook 2010 Form Regions controls

    Probably not exposed to the class. You can't access those members
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jun 2006
    Posts
    645

    Re: C# Outlook 2010 Form Regions controls

    @dglienna...BTW why leave out only Visible property while not others?

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: C# Outlook 2010 Form Regions controls

    They are PRIVATE members of the class, so you can't see them. They'd have to expose them to a different value that IS public for you to see (or change) it
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured