iif CONDITION

R

Roberto Giussani

How to show or hide an image or a text box connected to a lif condition
???

iif(number=0;image A;imageB)

Thanks - Ciao !

Roberto
 
T

TedMi

NameOfTextBox.Visible = (number=0) 'make visible if number is 0
NameOfTextBox.Visible = (number<>0) 'make visible if number is not 0

NameOfImage.Picture = Iif(number=0, image1, image2)
where image1 and image2 are strings containing the paths to a graphic file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top