B
Brian
Hi,
here is exactly what I want to try and do. On a simple level, when the user
clicks on a textbox the matching label will change colors to hightlight the
which field they are editing. By Default, I always label my labels and
textboxes the same with the exception of the first 3 character....
txtTextbox and the label would be lblTextbox.
Hears the tricky part. I want to have one procedure to do this, this
procedure will be called on the gotfocus event of the textbox(?for each
textbox) and then check the readonly properity of that textbox, if it is
true colors will stay the same, otherwise change foreground and background.
What makes this complecated is this, I don't want to have to put this code
on each gotfocus event of a textbox, maybe sometype of global object
handling event? The other thing is I am taking the name of the textbox and
striping the first 3 character off and tring to set a temp object(label) by
that name to change the colors.
Any idea and or samples you could should me?
Thanks Brian
here is exactly what I want to try and do. On a simple level, when the user
clicks on a textbox the matching label will change colors to hightlight the
which field they are editing. By Default, I always label my labels and
textboxes the same with the exception of the first 3 character....
txtTextbox and the label would be lblTextbox.
Hears the tricky part. I want to have one procedure to do this, this
procedure will be called on the gotfocus event of the textbox(?for each
textbox) and then check the readonly properity of that textbox, if it is
true colors will stay the same, otherwise change foreground and background.
What makes this complecated is this, I don't want to have to put this code
on each gotfocus event of a textbox, maybe sometype of global object
handling event? The other thing is I am taking the name of the textbox and
striping the first 3 character off and tring to set a temp object(label) by
that name to change the colors.
Any idea and or samples you could should me?
Thanks Brian