Subject | Re: [IBO] Pasting problem into masked field in IBO3 grid |
---|---|
Author | Jason Wharton |
Post date | 2001-08-06T18:11:59Z |
Thanks for the information and it does appear this is a bug I need to
resolve.
Let's take this into special channels and get it resolved.
I have logged this as an item for attention.
Thanks,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
resolve.
Let's take this into special channels and get it resolved.
I have logged this as an item for attention.
Thanks,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Geoff Worboys" <geoff@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, August 06, 2001 7:39 AM
Subject: Re: [IBO] Pasting problem into masked field in IBO3 grid
> > IBO 3.6A, BCB 4
> >
> > when I tab out (without posting) the old value reappears,
> > when I edit the field (i.e. press backspace) then the new
> > value remains table is normal, the field is in the middle
>
> OK, I can reproduce it here - it is also a problem on IBO4.
>
> Jason,
>
> I've managed to track it this far: When a paste is done there is no
> call to the SetEditText - as there would be during normal keyboard
> input. Looks like the inplace editor needs a wmpaste message handler
> to do something (cut seems OK asis). Its either that or we need to
> intercept the UpdateData calls to check if the inplace editor has been
> modified BEFORE updating the column reference. That is...
>
> In Grid.MoveCol you have
>
> DataLink.UpdateData;
> <...>
> HideEditor;
>
> HideEditor will result in a call to SetEditText, but by then it is too
> late, the column reference already thinks it is updated.
>
> Not sure if I might be missing a more obvious fix, any thoughts?
>
>
> Geoff Worboys
> Telesis Computing
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>