Combo Box OpenClosed Based Gif

Firefly

Registered User.
Local time
Today, 08:53
Joined
Jun 4, 2007
Messages
11
Please see attached I have a combo box which has Open/Closed. What I want to do is if user selects Open The Green Gif Will appear If the User Selects Closed The Red One will appear.

Also is it possible to insert gifs into a txt box or another combo box.


Thanks,
 

Attachments

Put the following code in your OnCurrent Event for the form and the AfterUpdate Event on the combo.

Code:
If Combo2.Value = "Open" Then
        Image9.Visible = True
        Image10.Visible = False
    ElseIf Combo2.Value = "closed" Then
        Image9.Visible = False
        Image10.Visible = True
    Else
        Image9.Visible = False
        Image10.Visible = False
    End If
 

Attachments

Users who are viewing this thread

Back
Top Bottom