[lazarus] datasource - dataset
Michael.VanCanneyt at Wisa.be
Michael.VanCanneyt at Wisa.be
Mon Dec 30 05:21:35 EST 2002
On Mon, 30 Dec 2002, Jesus Reyes wrote:
> Hi, I'm reporting this here but I don't know if I should do that in some
> other place, it's a fcl related issue in datasource.inc (FIXES_1_0_0) on
> line 489: If FState<>FlastState then it should be (I think):
> Fstate=FLastState then ...
Fixed.
>
> In dataset.inc after TDataset.GetField ... Apparently lazarus has problems
> with nested comments (Shift+Ctrl+Up/Down not further investigated) or can be
> changed the outer comments from { } to (* .. *).
>
> TField.Displaywidth property currently is implemented as:
> ... Read FDisplayWidth .... but it should be .... Read GetDisplayWidth ...
There is no GetDisplayWidth function. What should it do according to you ?
Something like:
Function TField.GetDisplayWidth : Longint;
begin
If FDisplayWidth<>0 then
Result:=FDisplayWidth
else
Result:=DataSize
end;
Or what ?
Michael.
More information about the Lazarus
mailing list