cancel
Showing results for 
Search instead for 
Did you mean: 

Clicking on link button in a matrix cell

Former Member
0 Kudos

Hi,

How can i click on a link button in a matrix cell from my VB code.

Thanks

Satish

Accepted Solutions (0)

Answers (4)

Answers (4)

fceylan_hs
Participant
0 Kudos

I have same problem, I need to open form by clicking linked button inside matrix. Tried to cast column cell to linked button but no luck. Any suggested solution?

SAPbouiCOM.ColumnClass oCol = (SAPbouiCOM.ColumnClass)oMatrix.Columns.Item("540000075");<br>((SAPbouiCOM.LinkedButton)oMatrix.Columns.Item("540000075").Cells.Item(1).Specific).Item.Click();

tried different variations above code but either it gaves me casting error or does nothing on UI screen.

Former Member
0 Kudos

Hi John,

I already tried this, but it did not work.

Thanks and regards,

Satish.

Former Member
0 Kudos

Hi Ram,

I want to click on a link button in a matrix cell from my VB code.The link button is already there.

Regards,

Satish

Former Member
0 Kudos

The click method on a cell has a parameter that can be used to determine the type of click (regular, double, link, collapse). Simply call the click method on the cell using the "ct_Linked" parameter to launch the linked screen.

Set sboMatrix = sboApp.Forms(strUID).Items("38").Specific
Set sboCell = sboMatrix.Columns("1").Cells(1)
sboCell.Click ct_Linked

John.

RamBilasYadav
Participant
0 Kudos

Hi Satish,

Pls eloborate ur question. Do u want the code about implementing a lin button in a matrix column or u want to trigger the click event of the link button in a column?

With Regards,

Ram.