Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

TimeDelayed in Selecting CheckBox

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

replied

ok, and how do you have instantiated Conv_Form? I think that it must works.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question