Hello,
I have a listbox on my form which allows the user to select a payment method (eg. cash, visa, mastercard,...)
I've pasted 3 small images on my form, made them invisible. What I'd like to do is make one visible based on the selection made. As such, the payment method will be emphasized to the user.
I started using coding that looks like:
If me.paymethod = 1 then
me.imgcash = visible
else
if me.paymethod = 2 then
me.imgvisa = visible
...
This is fine for me, as long as I have not that many options. However, this is quite "static".
How could I achieve the same result using another technique?
Kind regards,
Peter
I have a listbox on my form which allows the user to select a payment method (eg. cash, visa, mastercard,...)
I've pasted 3 small images on my form, made them invisible. What I'd like to do is make one visible based on the selection made. As such, the payment method will be emphasized to the user.
I started using coding that looks like:
If me.paymethod = 1 then
me.imgcash = visible
else
if me.paymethod = 2 then
me.imgvisa = visible
...
This is fine for me, as long as I have not that many options. However, this is quite "static".
How could I achieve the same result using another technique?
Kind regards,
Peter