--- Alexander Todorov <[EMAIL PROTECTED]> escribió:

> On 11/23/05, Simeon Mitev <[EMAIL PROTECTED]> wrote:
> > Hi,
> > i have a TStringGrid on the form and want to
> > post VK_DOWN message to it? i am trying with:
> >
> > aGrid.Perform(LM_KEYDOWN,VK_DOWN,0);
> >
> > but it does not work.
> > I just want to move the current selected row to the next one ...
> 
> Try using
> TStringGrid.SelectCell() instead
> 
> 


This will not work, as SelectCell is intended to be used for asking
if a cell is selectable.

instead use:

 aGrid.Row := aGrid.Row + 1;

Jesus Reyes A.


        
        
                
___________________________________________________________ 
Do You Yahoo!? 
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. 
http://net.yahoo.com.mx 

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

Reply via email to