[AccessD] Just curious

John Clark John.Clark at niagaracounty.com
Wed Feb 12 14:12:01 CST 2003


I have a question that really does not pertain to anything that I am
currently doing...other than it may open up some ideas for me...but I
have been curious about it. 

If you want to do something to all controls, or all text boxes, on a
form, how would you do this, without placing code behind each and every
control. As I am writing this, it is occurring to me that something like
this may have been posted in the past...don't remember exacts.

Examples of what I would like to do are:

1) I would like to set fields so that when you click on them, with the
mouse, you are taken to the beginning of the field, and maybe the end,
if there were already data existing. I have done this for individual
fields, and the users like it, but I was just to dang lazy to do them
all.

2) There was a program in the past, where for a reason that I no longer
remember, I had programmed each field to become "pale yellow," when it
gained focus, and return to white, when it lost focus. I did this for
each and every field, and it was a pain in the backside.

Again, I am really just curious at this point, but I can think of
several standards that I might input into my programs, once I figure
this out.

Take care!

John W Clark



More information about the AccessD mailing list