Skip to Content

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

TimeDelay in Selecting CheckBox

Hi To All,

I am having 5 CheckBoxes in my screen..In that 5th CheckBox is SelectAll checkbox. If i select that 5th Checkbox, al the other 4 Checkboxes should be selected at once..Wats my problem is, if i select the 5th checkbox after 4 to 5 seconds all the other 4 checkboxes got checked..How to overcome this time delay is selecting checkbox...Here is my source...

            Conv_Form = app.Forms.Item("AWReport")
            Dim Chk1 As SAPbouiCOM.CheckBox = Conv_Form.Items.Item("chk1").Specific
            Dim Chk2 As SAPbouiCOM.CheckBox = Conv_Form.Items.Item("chk2").Specific
            Dim Chk3 As SAPbouiCOM.CheckBox = Conv_Form.Items.Item("chk3").Specific
            Dim Chk4 As SAPbouiCOM.CheckBox = Conv_Form.Items.Item("chk4").Specific
            Dim ChkALL As SAPbouiCOM.CheckBox = Conv_Form.Items.Item("chkAll").Specific
            Select Case pVal.EventType
                Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
                    If pVal.ItemUID = "chkALL" And pVal.BeforeAction = False Then
                        If ChkALL.Checked = "True" Then
                            Chk1.Checked = "True"
                            Chk2.Checked = "True"
                            Chk3.Checked = "True"
                            Chk4.Checked = "True"
                            Chk1.Checked = "False"
                            Chk2.Checked = "False"
                            Chk3.Checked = "False"
                            Chk4.Checked = "False"
                            ChkALL.Checked = "False"
                        End If
                    End If
        Catch ex As Exception
        End Try
    End Sub

Former Member
Not what you were looking for? View more on this topic or Ask a question