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

LinkedButton in Matrix (v. 6.7) and disappearing rows

We just tried adding a LinkedButton column to a matrix as per the sample instructions:

Dim oLink As SAPbouiCOM.LinkedButton

Set oColumn = oColumns.Add("A", it_LINKED_BUTTON)

Set oLink = oColumn.ExtendedObject

oLink.LinkedObject = lf_BusinessPartner

The link works, however, our matrix is on a tab (or pane level) and when the tab is changed and subsequently changed back, the data in the matrix disappears.

When we take the linkedButton out, the data in the matrix does NOT disappear when we change tab pages.

Is this a known problem?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2005 at 03:56 PM

    Hello Catherine, i just checked your case and i dont have further problems.

    I recommend you to check how the UserDataSources are being defined or handled.

    If possible please send us some code behind this objects as i dont see any problem with the code you wrote regarding LinkedButton.

    Regards,

    Felipe Ortega

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      This had to do with the Form mode. If the Form was not set to the correct mode at the correct time, the matrix rows disappeared.

      This was originally workaround code for tab buttons that were incorrectly changing the form mode on us. This must have been corrected in 6.7 so we removed our workaround code (which was adjusting the form mode) and everything was OK.

      p.s. i clicked the "Solved On My Own" radio button a while back.

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.