Highlight the Current

  • Thread starter Thread starter Bre-x
  • Start date Start date
B

Bre-x

Hi,

Is there a a way to highlight the current on a Datasheet form?

I use the "On Current" Event to open another form, I would like to
"highlight" some how the current record.

Thank you all,

Bre-x
 
Are you talking about highligting the control that currently has the focus?
If you are I've always wanted to know if there was an easy way to do this.

Only way I know of to do this is to put some code in EACH control's On Got
Focus and On Lost Focus events to change something about the control (change
its backcolor/forecolor/borderwidth etc).

But this quickly gets very laborous if you try to keep a consistent
look/feel on each form, especially if you are working on a large database and
even if you make public procedures to put the 'highlight' into effect, you
still have to stick a call to those procedures in every single control's On
Got Focus/On Lost Focus events.
 
Back
Top