Hello Lazarus-List,

Sunday, December 6, 2009, 7:29:27 PM, you wrote:

CJ> I have the following column as part of a mySQL table.
CJ> `courses_subject_lock` CHAR(1) NOT NULL DEFAULT 'F'
CJ> I would like to modify the state of a DBNav component such that some
CJ> aspects of it are disabled based on a record set value.
CJ> Specifically, I would like to disable only the DELETE function if the
CJ> value for this field in a given recotd is set to T

In the AfterScroll event of your query enable/disable the navigation
buttons manually.

-- 
Best regards,
 JoshyFun


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to