473,387 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

make 55 axshockwave objects invisible

82
Hi I'm trying to make loop to make 55 axshockwave objects invisible. Simply put this in a loop.

axShockwaveFlash1.Visible = false
axShockwaveFlash2.Visible = false
axShockwaveFlash3.Visible = false
....
axShockwaveFlash55.Visible = false

As you can see first I listed all the loop items in a TB to make sure they looked O.K. which they did.
Now I can't work out how to change this into a small loop

So far I've got

Expand|Select|Wrap|Line Numbers
  1. for (int i = 1; i < 56; i++)
  2.             {
  3.                //textBox1.AppendText("axShockwaveFlash" + i + ".Visible = false" \n);
  4.  
  5. "axShockwaveFlash" + i + ".Visible = false";
  6.             } 
  7.  
Now I'm stuck. Please show me or explain what I'm missing
thanks.
Oct 8 '12 #1
0 1165

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Matt | last post by:
Are there any settings to make a page invisible to the user until certain time? For example, I want mypage.html is invisible to the user until 12:00am. But mypage.html is already in the IIS server....
3
by: Mr. x | last post by:
Hello, How can I make a form (tag = "<form>") invisible ? <form id = "myform"> ... myform.style.visibility = "hidden"; // this doesn't work !!! Thanks :)
1
by: PCB | last post by:
Hi all, Not sure if this is possible, but can I change the controls of a command button on a per record bases in a subform. In my case, I would like to make a command button visible only if...
3
by: Richard | last post by:
After printing a userlist to a Datagrid i want some names not to be shown. I want to know how i can make a entire datagrid row invisible. I suspect its something with the OnItemDatabound but i am...
6
by: Selden McCabe | last post by:
I have a form with a bunch of image buttons. When the user moves the mouse over a button, I want to do two things: 1. change the Imagebutton's picture, and 2. make another control visible. I'm...
1
by: Dino M. Buljubasic | last post by:
I have two controls, a panel holding check boxes and a treeview beside the panel. I use buttons to scroll both of thes up and down at the same time but I'd like to make scroll bars on the...
10
by: Nicolas Fleury | last post by:
Hi everyone, I was wondering if it would make sense to make staticmethod objects callable, so that the following code would work: class A: @staticmethod def foo(): pass bar = foo() I...
1
by: indoo | last post by:
Javascript to make a character invisible in a texbox on onfocus event. Thanks in Advance.
0
by: sony.m.2007 | last post by:
Hi, I'm creating a combox control in XAML(WPF) and loading the items from a table in sql server. There are four items in the combobox.I need to hide an item in the combobox and to show three...
1
by: riyazuddin | last post by:
how to make a character invisible when the user is typing from keyboard in linux
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.