Mattias Gaertner wrote:
> On Fri, 19 Jan 2007 09:48:10 +0200
> "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:
> 
>> Thanks Jesus,
>>
>> On 1/19/07, Jesus Reyes <[EMAIL PROTECTED]> wrote:
>>>> Anybody know if the TStringGrid can make sure that the selected
>>>> row is in view?
>>>>
>>> Yes it can.
>> Excellent!  Can you give a hint on how this is done?  I looked at the
>> TCustomStringGrid class and nothing came to mind.
>>
>>>> We just need to be sure that the StringGrid will support all the
>>>> features of the ListBox as is currently used in the Messages
>>>> window.
>>>>
>>> I don't know exactly what are all the features, but I think the grid
>>> can do anything a listbox does.
>> I'm sure it can.  Vincent mentioned the 'selected row in view'.  Maybe
>> Mattias can mention a few others.  Looking at the Messages Window code
>> - it is quite busy code to say the least.  A lot happens in there..
>> :-)
> 
> But not much about TListBox.
> It simply needs a scrollable list of custom drawn rects with click,
> double click, selected item, ensure selected is visible, begin update,
> end update. TStringGrid can do that.
> Can TStringGrid handle 30.000 rows?

Why on earth do I want 30000 rows of output  ?
Do you expect to find anything in there ? Handling 1000 lines in any
control needs some virtual handling (you dont want to put that much
lines in any native control)

Marc

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to