[Lazarus] poDefault* at design time?

Luca Olivetti luca at wetron.es
Wed Apr 16 09:35:05 CEST 2008


On Mon, Apr 14, 2008 at 10:05 AM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
>  constructor TMainForm.Create(AOwner: TComponent);
>  var
>    fields: TDbfFieldDefs;
>
> begin
>    inherited Create(AOwner);
>    DataSet             := TDBF.Create(Self);
>    DataSet.TableName   := 'temp.dbf';
..........

Thanks, this worked perfectly =) Maybe the problem with TDBf is that I
was passing zero to the size of the string field. I had just thougth
that I don't care about the size and giving zero would make it a field
that can accept any size ...

-- 
Felipe Monteiro de Carvalho



More information about the Lazarus mailing list