Hello Lazarus-List,
Sunday, December 6, 2009, 8:02:47 PM, you wrote:
CJ> I somehow need to be able to wrap this into an IF statement something like
CJ> If filed x = y then
[...]
CJ> I am not able to figure out the if statment. I did know how to work with
CJ> the DBNav buttons display.
Something like:
If Dataset.FieldByName('CheckField').AsString='F' then begin
[.....]Show delete
end else begin
[.....]Hide delete
end;
In AfterScroll field "fields" points to the current record.
--
Best regards,
JoshyFun
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus