--- El mar 8-jul-08, Luca Olivetti <[EMAIL PROTECTED]> escribió:

> De:: Luca Olivetti <[EMAIL PROTECTED]>
> Asunto: Re: [Lazarus] Problems drag&dropping from a TStringGrid
> A: "General mailing list" <[email protected]>
> Fecha: martes, 8 julio, 2008, 6:20 am
> En/na Luca Olivetti ha escrit:
> > I'm porting some delphi code. In one of my forms I
> drag from a 
> > TStringGrid and drop to a TSpinEdit (to
> "visually" put the value in one 
> > of the rows of the string-grid in one of multiple spin
> edits).
> > The first problem is that TSpinEdit doesn't expose
> OnDragDrop and 
> > OnDragOver (I just made a derived component to publish
> those 
> > properties), but the real problem is that while I drag
> the selected row 
> > in the stringgrid changes. Is there any way to avoid
> that?
> 
> I finally did it this way: move the BeginDrag in MouseMove
> instead of 
> MouseDowm, track the button in MouseDown, disallow cell
> selection while 
> dragging in SelectCell.

I know you found a workaround but can you test r15727? it should help.

> Luca Olivetti
> Wetron Automatización S.A. http://www.wetron.es/

Jesus Reyes A.

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to