on 07-20-2006 8:13 AM
Is it possible to link the EditText and LinkedButton
in B1 UI API 2004??
Anyone try that before?? I need some sample.
Thank!!!
Thanks for your code!!
But, I can't find the extendedObject property in EditText
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Here is some code that can do what you want :
oItem = oForm.Items.Add("ECPart", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oItem.Left = 139
oItem.Width = 144
oItem.Top = 5
oItem.Height = 14
oItem.LinkTo = "Lien"
oEdit = oItem.Specific
oItem = oForm.Items.Add("Lien", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
oItem.Left = 120
oItem.Top = 5
oItem.LinkTo = "ECPart"
oLink = oItem.Specific
oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_BusinessPartner
HTH,
Thibault
Hello.
This is how to add LinkedButton column to matrix:
[Visual Basic] The following sample code shows how to add link arrow to column.
Set oItem = oForm.Items.Add("Matrix1", it_MATRIX)
oItem.Left = 5
oItem.Width = 400
oItem.Top = 5
oItem.Height = 130
Set oMatrix = oItem.Specific
Set oColumns = oMatrix.Columns
Set oColumn = oColumns.Add("F", it_LINKED_BUTTON) '// new type of column
oColumn.TitleObject.Caption = "Linked to object"
oColumn.Width = 40
oColumn.Editable = True
Set oLink = oColumn.ExtendedObject '// new property
oLink.LinkedObject = lf_BusinessPartner
Using Linked Button not in matrix is similar to this.
Hope it helps.
Regards
Kamil Wydra
More that You can do is to try method LinkTo.
Maybe that helps.
Message was edited by: Kamil Wydra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
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.