[Lazarus] ComboBox disable or grey out items

ik idokan at gmail.com
Thu Mar 27 08:28:02 CET 2008


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

On Thu, Mar 27, 2008 at 9:15 AM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> On 26/03/2008, el stamatakos <el_stamatakos at hotmail.com> 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
>  Lazarus at lazarus.freepascal.org
>  http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
http://ik.homelinux.org/



More information about the Lazarus mailing list