Repaint ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello!

I have a form with 3 text boxes Value, MinValue and MaxValue parameters, .

When change the value in text box Value, change image according this value
(If < MinValue, between MinValue and MaxValue or > MaxValue).
Work fine trough code in On Current (Form) and After Update (Text box
Value), but:

Now, I would like to change the images too, when to change values in
MinValue or MaxValue without have to rewrite new value in text box Value. If
rewrite value, work fine too, but it isn't friendly. Is it necessary, please?

Thanks in advance.
an
 
Hi,


If the change is done by the end user, that is already handle, right.
If the change is done by your code, then your code should CALL the same
code you already have written. Event procedure handler are subroutine like
standard subroutine that you can call from other part of your code.
If the change is done by another user and carried over by the multi-user
capabilities of the database, one of the easiest way would be to peek at the
value through a form timer event handler. With a timer of 5000 (each 5
seconds), CALL the appropriate code...


Hoping it may help,
Vanderghast, Access MVP
 
Thanks, MW

For your help.
an

Michel Walsh said:
Hi,


If the change is done by the end user, that is already handle, right.
If the change is done by your code, then your code should CALL the same
code you already have written. Event procedure handler are subroutine like
standard subroutine that you can call from other part of your code.
If the change is done by another user and carried over by the multi-user
capabilities of the database, one of the easiest way would be to peek at the
value through a form timer event handler. With a timer of 5000 (each 5
seconds), CALL the appropriate code...


Hoping it may help,
Vanderghast, Access MVP
 
Back
Top