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..
:-)


If you want to do it and have questions I can help you.


Thanks for the offer.  This should be a good exercise in working with
the TStringGrid, seeing that I am starting to use it in my own
applications as well.  I first need to find out all that the Messages
Window does, before I start changing things.


--
Graeme Geldenhuys

There's no place like S34° 03.168'  E018° 49.342'

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

Reply via email to