[Lazarus] working solution for Lazarus: connection to a remote PC via Lazarus

Cubic cubicdesign at gmail.com
Fri Oct 16 16:45:39 CEST 2009


On Fri, Oct 16, 2009 at 21:59, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> 2009/10/16 Raistware <raistware at gmail.com>:
>> So, In the listbox I have:
>> Ninguno
>> Tclass1
>> Tclass2
>> <Todo>
>>
>>
>> So it seem to be a problem with sorting, that you assumes that the first
>> item should always be 'All' ?
>
> Ah, that would explain it then. I'm not 100% sure about how to get
> around this though. Maybe sort the list with class names only, then
> disable sorting and then insert <all> and <none> in the top of the
> list. That could work? <all> (or whatever it's resource string value
> is), will then always be at the top.
>

Alternatively, you can make these strings literally "<all>" and "<none>",
including angle brackets.
This will also resolve potential confusion if the user will
create classes  with these names.

-- 
Alexander S. Klenin




More information about the Lazarus mailing list