Subject | Re: [IBO] F2 to Edit |
---|---|
Author | Andreas Pohl |
Post date | 2006-10-05T12:30:50Z |
Hallo Andreas Pohl,
calls to BoundsChanged, too:
in procedure TIB_CustomGrid.SysUpdateEditor:
(InPlaceEditor as TIB_GridInplaceEdit).Color := AColor;
// Pohl 05.10.2006
// (InPlaceEditor as TIB_GridInplaceEdit).BoundsChanged;
in function PositionControl:
tmpIntf.SetFocus;
// Have to FORCE a BoundsChanged calculation due to some
// weird processing with WM_CTL* messages.
// (even though, more often than not, no change has occurred)
// Pohl 05.10.2006
// tmpIntf.BoundsChanged;
No it's possible to modify TIB_Grid.InplaceEditor without flickering.
http://tinyurl.com/jd8k3
--
Andreas
> just fighting with this I could prevent this behavior by commenting outsorry, that's not all. 2 more changes needed. I had to comment out all
> this 2 lines of code in IB_Grid.pas:
>
> // if AlwaysShowEditor and HasFocus then
> // ShowEditor;
>
> Now typing with ib_datasource.AutoEdit:=true will replace content with
> keyboard character (even with ib_grid.AlwaysShowEditor:=False). F2 is
> working as before.
calls to BoundsChanged, too:
in procedure TIB_CustomGrid.SysUpdateEditor:
(InPlaceEditor as TIB_GridInplaceEdit).Color := AColor;
// Pohl 05.10.2006
// (InPlaceEditor as TIB_GridInplaceEdit).BoundsChanged;
in function PositionControl:
tmpIntf.SetFocus;
// Have to FORCE a BoundsChanged calculation due to some
// weird processing with WM_CTL* messages.
// (even though, more often than not, no change has occurred)
// Pohl 05.10.2006
// tmpIntf.BoundsChanged;
No it's possible to modify TIB_Grid.InplaceEditor without flickering.
http://tinyurl.com/jd8k3
--
Andreas