Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Phillip Bongers
  Where is Phillip Bongers?
 Sydney
 Australia
 Phillip Bongers
 To: David Kurniawan
  Where is David Kurniawan?
 Semarang
 Indonesia
 David Kurniawan
 Tags
Subject: RE: Listbox All Disabled
Thread ID: 345221 Message ID: 345270 # Views: 31 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Monday, May 21, 2012 11:54:23 PM         
   


> > Hi fellow Foxiters,
> >
> > Is it possible to disable an ENTIRE listbox like you do with a TextBox.
> >
> > When you set Enabled = .F. it is only the item that is Disabled.
> >
> > I am trying to match the visual behaviour of a stream of textboxes and the listbox sticks out like a sore thumb at the moment!.
> >
> > Phillip Bongers
>
> Dear Philip
>
> What do mean ENTIRE listboxlike a textbox
> Do you mean like
> THISFORM.LIStBOX.ENABLED=.f. n don't forgot u write THISFORM.LISTBOX.READONLY=.T.
>
>
>
> BR
>
>
> DAVID KURNIAWAN
> mamamia
David,
Unfortunately ListBoxes don't have the readonly property.

I'm going to try Jun's solution.

Thanks for your thoughts
Phillip

ENTIRE THREAD

Listbox All Disabled Posted by Phillip Bongers @ 5/21/2012 12:04:43 AM
RE: Listbox All Disabled Posted by Jun Tangunan @ 5/21/2012 12:23:49 AM
RE: Listbox All Disabled Posted by Phillip Bongers @ 5/21/2012 1:53:04 AM
RE: Listbox All Disabled Posted by Jun Tangunan @ 5/21/2012 2:16:54 AM
RE: Listbox All Disabled Posted by Phillip Bongers @ 5/21/2012 8:14:14 AM
RE: Listbox All Disabled Posted by Koen Piller @ 5/21/2012 12:57:52 AM
RE: Listbox All Disabled Posted by David Kurniawan @ 5/21/2012 8:35:58 AM
RE: Listbox All Disabled Posted by Phillip Bongers @ 5/21/2012 11:54:23 PM