on 01-14-2005 1:42 AM
Hi there,
I know this topic had been discussed a number of time but non of the solution work for me.
I want to know how to create a link button on a matrix. Just like the one in the Sales Order- item matrix, where
you can click on the link button beside the item code and the item master data form will pop out.
Only want to know matrix not normal text field where putting a link button is so easy.
I'm using 6.5 SDK and please... don't provide any 2004 solution... cos it's not workable on 6.5?
Thanks in advance
OK if you want to add linkbutton to the matrix cell just use following syntax:
Set oMatrix1Col = oMatrix1Cols.Add("Col1", it_LINKED_BUTTON)
but as I said before the property that will allow you to connect objects to this button is available in 2004 A.
Regards,
Pawel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Without doing any item.linkto , you won't be about to see any link button on the matrix cell even you had declare the column as linked button type. Thus, I don't see why this type should even be allow in the Matrix as you can't even link a thing for SBO 6.5? Funny...
Anyway, I use a double click event on a column to act as a link button... Here's my code:
Case SAPbouiCOM.BoEventTypes.et_DOUBLE_CLICK
Select Case pVal.ItemUID
Case "PMatrix"
If pVal.ColUID = "PerLink" Then
otext = PercentMatrix.Columns.Item &_
("PerInv").Cells.Item(pVal.Row).Specific
txtPerLink.String = otext.Value
ProINVForm.Items.Item("PerLink1").Click &_
(SAPbouiCOM.BoCellClickType.ct_Linked)
End If
End Select
Note: txtPerLink is a textbox to display invoice number
"PerLink1" is a Link button created when my form
is created.
Thus, when a double-click event is detected on column "PerLink", it will detect which row also. Then read in the invoice number from the particular row and put into EditText: "txtPerLink". Then, force a link button click.
Message was edited by: Erik Tang
Ah.... I yet to have 2004 sdk and it's program....
I had done a workaround... but still unable to show a actually link button on a matrix cell... I can only capture a double click event and do a link button click so my target form will pop out...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
as far as you know it is possible to create a link button on the matrix in 6.5 but linking it to an object is possible only for 2004 A.
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.