Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-03

ComboBox disable or grey out items

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys
to el stamatakos
el stamatakos wrote
Hi, How do I grey out or disable an item from being selected inside a ComboBox?

That's a good question, and have been wondering myself. My work-around for now is simply to remove the item from the list.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

ik
to Graeme Geldenhuys

On Delphi, I used to create custom made Combo/List that does not allow to select such item and I would paint each item myself, so I could draw it gray, and make it loose the selection...

Ido

Graeme Geldenhuys wrote 23 lines
On 26/03/2008, el stamatakos wrote: > > Hi, > How do I grey out or disable an item from being selected inside a > ComboBox? That's a good question, and have been wondering myself. My work-around for now is simply to remove the item from the list. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email