[DUG] string grid help

Vikas... vikas.image at gmail.com
Fri Feb 29 18:40:18 NZDT 2008


thanks for that suggestion

i tried using it but seems like warry again i eman dint worked.

well if i keep my scrollbars to *ssnone* than *ssboth* i eman vertical and
hirzontal then

my grid gonna  shows records which fits on that screen rest all gone . So
thats ditn seems to work out.

Funnything i used mouseup event and its strange the debugger wont points to
that when i do mouse up. seems.

U can see the same behavour in delphi 5 screen. Say when u do control and
spacebar in delphi to complete any function name (what C# foks call
intellescence ) at the same time just use the roller of the mouse to scroll
ide, u can see the delphi screen code windown scrolls up and down keeping
the intellscence window on screen. Somethign same happens here when message
windows pops up it stays there and my grid moves.


i really apreciate all of ur time and help for respondign to my query

Regards
Vikas




On 2/29/08, Dave O'Brien <dave at iccs.co.nz> wrote:
>
>  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:* delphi-bounces at listserver.123.net.nz [mailto:
> delphi-bounces at listserver.123.net.nz] *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: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
>



-- 
  vikas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20080229/f35a0644/attachment-0001.html


More information about the Delphi mailing list