Microsoft
Software
Hardware
Network
Question : Another way of coding this
I have this code in
OnPreRender
event. I tried IF statement but it didnt work. Below works for ONE value but when I add the other 2 lines, of course, it only takes the value of 3rd line.
Not sure why IF statement didnt work. Maybe because it's onPreRender event. How can I write this WITHOUT using IF?
btnNA.Visible = mvApplication.ActiveViewIn
dex == 1; //this works but i need all 3 values
btnNA.Visible = mvApplication.ActiveViewIn
dex == 2;
btnNA.Visible = mvApplication.ActiveViewIn
dex == 3;
Answer : Another way of coding this
What do you want? Do you want to make it visible if it's one of those ActiveViewIndex'?
Because if so do this:
btnNA.Visible = (mvApplication.ActiveViewI
ndex >= 1 && mvApplication.ActiveViewIn
dex <= 3);
Random Solutions
Access VBA probplem with GetRows
gmail reciepient notification
asp.net I am trying to convert an html form into an aspx form or ? what ever. Need Help on how to to it.
Winzip 12 Backup Job Issues ?
paypal integration in asp.net /VB
Windows 7 - Windows could not be activated
find textbox and start div underneath it
Make wireless networking
VB6 end of support - consequences for practice
Active Directory DNS records issue