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
Add DC to Windows Server 2003 Network - error msg
I have designed an website in flash as well in html, if the browser dont have flash then i want them to be directed to the html version, or else they need to directed to flash version
Network monitoring tools
Discrete Math, Big O, Little o
How to Setup Mandatory Profiles Server 2008 R2
on a web application connecting to oracle. Finding a user session from their computer to oracle
Backup Exec 12
my phone number would accept
Need to monitor specific events in SCOM 2007 R2
Network issue.