Skip to Content
author's profile photo Former Member
Former Member

Matrix Cell Focus

Hi,

I need to set focus on a cell in matrix when i press tab from a edit text which is above the matrix.The below code is not working

oMatrix.Columns.Item("ItemNo").Cells.Item(1).Click(SAPbouiCOM.BoCellClickType.ct_Regular)

Manoj

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 11:40 AM

    Hi,

    What error does it gives?

    Regards,

    vanesa

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Adele,

      Here is the code, after executing the matrix cell click line my sap b1 screen is not responding

      Here EFrom is my edit text and oMatrix is my matrix

      Case "EFrom"

      Try

      If Not flagClearing And BubbleEvent Then

      oEt = oForm.Items.Item("EFrom").Specific

      Dim s As String = oEt.Value.ToString()

      If oEt.Value.Length <= 0 Then

      SBO_Application.SendKeys("+") BubbleEvent = False Else bValid = ValidateFrom("EFrom", "CUVV", oEt.Value.ToString()) If Not bValid Then SBO_Application.SendKeys("+")

      BubbleEvent = False

      Else

      oMatrix.Columns.Item("ItemNo").Cells.Item(1).Click(SAPbouiCOM.BoCellClickType.ct_Regular)

      BubbleEvent = False

      End If

      End If

      End If

      Catch ex As Exception

      SBO_Application.MessageBox(ex.Message)

      End Try

      Manoj

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.