[Lazarus] Subroutine ?

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jul 31 15:33:47 CEST 2013


On Wed, 31 Jul 2013 07:23:02 -0500
"Terry A. Haimann" <terry at haimann.us> wrote:

> Interesting and I didn't know you could do that.  But, more of what I
> have in mind is.
> 
> I have a bunch of database components on a form, I want them to be
> enabled only after hitting the edit or insert button on the DbNavigator.
> Since this is going to occur in multiple points in my button procedure,
> it would be programmatically better if this could be done in a sub
> procedure.  Also, I have fields that are dependent on other fields, so
> fieldsz only would become active if fieldx has a 'Y' in it. 

What is the question?

Mattias




More information about the Lazarus mailing list