Disabling a Tollbar button


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Disabling a Tollbar button

  1. #1
    Join Date
    Apr 2005
    Posts
    20

    Question Disabling a Tollbar button

    Hey,

    Just wondering how i can disable a toolbar button from another form. When the user logs in, some of the function will be disabled including the Staff Record toolbar button. How would i go about refrencing this button from the Login form and disbaling it. I tried MDIGetIntroduced.tbrGetIntroduced.Buttons.Item.Key "Staff". But it gives me the error: Argument Not Optional and it highlights the .Item section.
    Please help!!!!

    Miss Jess

  2. #2
    Join Date
    Nov 2003
    Location
    Alameda, CA
    Posts
    1,737
    look at the documentation for the Key property of the Item object. The error means that you are not using it right, and because I do not know which toolbar you are using, I cannot help more than that
    Marco
    "There are two ways to write error-free programs. Only the third one works."
    Unknown

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center