Could it be that your grid is getting a mouse-down message, but not getting a mouse-up message because it has lost focus? This may cause a similar effect. Try using the onmouseup or onclick event if you are using the onmousedown event in the checkbox at the moment...
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vikas... Sent: Thursday, 28 February 2008 8:47 p.m. To: NZ Borland Developers Group - Delphi List; NZ Borland Developers Group - Delphi List Subject: [DUG] string grid help Hi, I dont know if its right to ask this question here, Well my problems goes likes this Envoirment :delphi 5: Compoent : inhertied from string grid with a check box feature in it. Thing is in this string gird i mean my custom made grid. i have set some option where user cannot check the gird . he/she will be prompted with a show message option but the problem is when the showmessage pops up the grid loses it focus and on mouse movement the grid rows and colums moves up and dowm i eman scroll bars moevs up and down, For a movement i thought well sicne the showmessage takes the focus thats why it happens. But the weired thing happend even after clicking OK on show message the gird keeps on moving up and down no matter where i click on form .I mean even if the focus is on other components Just move the mouse the grid rows will move up and down. Is there anyways i can fidn the position of scroll bar in normal string grid. something say strigngrid.scrollbar.postion soemthign like. But i got confused here, I know its seems like a small problem but i ditn able to make out where this is going wrong. I apreicate ur advice in this Regards Vikas Vasudev Solution consultant NCR corporation -- vikas
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
