473,509 Members | 11,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

count down multiple textboxes

hallow

i have the folowing code to add somme textboxes
comboboxes and checkboxes

Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

ControlCount = ControlCount + 1

Dim check As New CheckBox()

check.Name = "checkonoff"

check.Location = New Point(m_Location.X + 150, m_Location.Y - 3)

check.Size = New Size(30, 30)

Controls.Add(check)

Dim combo As New ComboBox()

combo.Text = "1"

combo.Name = "combochan"

combo.Location = New Point(m_Location.X + 180, m_Location.Y)

combo.Size = New Size(60, 20)

For inti = 1 To 16

Select Case dchanState(inti)

Case "Output"

combo.Items.Add(inti)

End Select

Next inti

Controls.Add(combo)

Dim text As New TextBox()

text.Text = "0"

text.Name = "txtvalue"

text.Location = New Point(m_Location.X + 250, m_Location.Y)

text.Size = New Size(70, text.Height)

Controls.Add(text)

m_Location.Y = m_Location.Y + text.Height + 5

End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click

If Button3.Text = "Start" Then

Button3.Text = "Stop"

Button3.ImageIndex = 8

Timer1.Enabled = True

Timer1.Interval = 1000

ElseIf Button3.Text = "Stop" Then

Button3.Text = "Start"

Button3.ImageIndex = 0

Timer1.Enabled = False

End If

End Sub

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Timer1.Tick

'txtvalue.text = txtvalue - 1

End Sub

when i add for example 100 textboxes

how can i make the text of all textboxes countdown per second with 1 timer

something like the above example
Nov 21 '05 #1
2 1028
Maarten,

You have placed a lot of questions in this newsgroup with a lot of follow
up.

Do you read those answers? Because you don't confirm that.

Please confirm if answers fit and as well when not.

That feed back helps to make the answers more trustable for others who
search this newsgroup.

Cor
Nov 21 '05 #2

yes i do read them all, they al have helped me a lot.

indeed as you say i do not confirm them all sorry for that.

i wil confirm them all in the futere.

greets Maarten

"Cor Ligthert" <no************@planet.nl> wrote in message
news:Oi**************@TK2MSFTNGP15.phx.gbl...
Maarten,

You have placed a lot of questions in this newsgroup with a lot of follow
up.

Do you read those answers? Because you don't confirm that.

Please confirm if answers fit and as well when not.

That feed back helps to make the answers more trustable for others who
search this newsgroup.

Cor

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
4063
by: Drew | last post by:
I have a db table like the following, UID, int auto-increment RegNo Person Relation YearsKnown Now here is some sample data from this table,
9
10808
by: Terry E Dow | last post by:
Howdy, I am having trouble with the objectCategory=group member.Count attribute. I get one of three counts, a number between 1-999, no member (does not contain member property), or 0. Using...
4
8438
by: M O J O | last post by:
Hi, I'm using a RichTextBox with WordWrap=True and MultiLine=False. When the text is to long, it fills more lines. How do I get the number of lines the text uses? Thanks!
19
9062
by: nazgulero | last post by:
Hello all, I wonder if anybody can give me a hint about what I have to do to get this working: I am creating a drop down box using the script below. The result is two text fields; now I want...
10
1909
by: Marc R. | last post by:
Hi all, I edit records using a form that have multiple control bind on Dataview, But I don't want to update right always to database, I would like to delay until all Changes (add all new...
1
5056
by: sparksol | last post by:
I have a form with a drop down box. If you select an option in the drop down box (depending which option is selected) one or two textbox(es) and a submit button display. I would like to keep the...
2
1438
by: ajaymohank | last post by:
Hello friends.......... i have 3 dropdown in my project, in which 3 of them are linked with each other. ie.... i select a value from the 1st drop down and based on that value, the corresponding...
3
11967
by: pipeme | last post by:
Hi I am using Access 2003 and I have a form with 120 textboxes in a grid layout. Depending on a selection made in a combo box, I want to change the visibility of certain textboxes in the grid. ...
3
2964
by: cubekid | last post by:
Dev't Tool: Visual C# 2003 and Javascript System Type: Web Application One requirement of the system is to dynamically create a table on client-side (Javascripting using createElement method.)...
0
7237
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
7137
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
7349
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,...
0
7417
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5063
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3210
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
445
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.