Hi, flickering PDA screen with vb2005 in vs 2005
- From: "lalitg79@xxxxxxxxxxxxxx" <lalitg79@xxxxxxxxxxxxxx>
- Date: 26 Mar 2007 06:27:51 -0700
I have created a form which is I am filling from my programe in a loop
with me.contrls
It looks like this
Public Sub autoFill(ByVal comboY As ComboBox)
Dim tname As String = comboY.Name
If comboY.SelectedItem.ToString = "No" Then
Dim control As Control
For Each control In ctrlGroup
If TypeOf (control) Is ComboBox Then
Dim combo As ComboBox = control
If combo.Name.Equals(tname) Then
combo.Enabled = False
Else
combo.Items.Add("N/A")
combo.SelectedItem = "N/A"
combo.Enabled = False
End If
End If
If TypeOf (control) Is TextBox Then
Dim txt As TextBox = control
txt.Text = "0"
txt.Enabled = False
End If
Next
End If
End Sub
where ctrlGroup is a collection of controls in a form
Now what happens is that when I call this function it starts filing
the form and scrolls down that u see on the form and it takes nearly
15 sec to complete a loop. So you see it filling all the values on the
form and creats screen flickers. what I don't want to see that
flickering on the screen.
Is there any method I can call to stop this?
Any suggestion will be grt
many thankx
.
- Follow-Ups:
- Re: Hi, flickering PDA screen with vb2005 in vs 2005
- From: <ctacke/>
- Re: Hi, flickering PDA screen with vb2005 in vs 2005
- Prev by Date: Re: POOM API ?
- Next by Date: Re: Hi, flickering PDA screen with vb2005 in vs 2005
- Previous by thread: localization error in French WM5 Pocket PC
- Next by thread: Re: Hi, flickering PDA screen with vb2005 in vs 2005
- Index(es):
Relevant Pages
|