Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
Disabling a component with an API?
Old
  (#1)
germol
Guest
 
Posts: n/a
Default Disabling a component with an API? - 06-04-2007, 08:51 AM

Hi!

I'm using a free grid component that lacks a .enable property. Is
there any way to call an API to disable components on a form?

Thanks!

-- Olivier
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Disabling a component with an API?
Old
  (#2)
Rick Rothstein
Guest
 
Posts: n/a
Default Re: Disabling a component with an API? - 06-04-2007, 08:51 AM

> I'm using a free grid component that lacks a .enable property. Is
> there any way to call an API to disable components on a form?


You could simply place the grid in a container object (Frame, PictureBox,
etc.) and disable the container (which will, in effect, disable anything
contained in it). Just make sure you place the grid **in** the container,
not merely visibly on top of it (cut the grid from the form, select the
container object, paste the grid into it).

Rick - MVP


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top