[Lazarus] DBEdit, DBMemo all readonly = true ! Whi?
Vincent Snijders
vsnijders at quicknet.nl
Tue Mar 4 11:10:21 CET 2008
Joost van der Sluis schreef:
> Is the Dataset read-only?
>
> Joost
>
Maybe:
http://bugs.freepascal.org/view.php?id=10876
> Op woensdag 27-02-2008 om 12:24 uur [tijdzone -0300], schreef
> OsvaldoTCF:
>> Ubuntu Gutsy
>> GTK2 and GTK
>> Lazarus svn 14266
>>
>> My DBEdit and my DBMemo is readonly, i need a workaround for continue my
>> work:
>>
>> ---------------------------
>> procedure TfrmAluno.FormActivate(Sender: TObject);
>> var
>> contador : integer;
>> begin
>> for contador := 0 to ComponentCount - 1 do
>> begin
>> if ((Components[contador] is TCustomEdit) and
>> (Components[contador].Tag <> 111)) then
>> (Components[contador] as TCustomEdit).ReadOnly := false;
>> end;
>>
>> end;
More information about the Lazarus
mailing list