Skip to Content
0
Former Member
Sep 23, 2008 at 04:48 AM

TimeDelayed in Selecting CheckBox

21 Views

Hi To All

I am Having 5 CheckBoxes in my screen..In that last checkbox is SelectAll Checkbox..If i select that check box, all the other 4 checkboxes should be checked..Its working fine..But, when i click the SelectAll checkbox after 4 to 5 Seconds only all the other checkboxes are selected..I had given form freeze...Wats the problem...Here is my source code..

 Try
 Conv_Form.Freeze(True)
 Select Case pVal.EventType
 Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
 If pVal.ItemUID = "chkSelectAll" And pVal.BeforeAction = False Then
     If ChkSelectAll.Checked = "True" Then
        Chk1.Checked = "True"
        Chk2.Checked = "True"
        Chk3.Checked = "True"
        Chk4.Checked = "True"
      Else
        Chk1.Checked = "False"
        Chk2.Checked = "False"
        Chk3.Checked = "False"
        Chk4.Checked = "False"
      End If
  End If
 End Select
 Conv_Form.Freeze(False)
 Catch ex As Exception
 Conv_Form.Freeze(False)
 End Try

End Sub