cancel
Showing results for 
Search instead for 
Did you mean: 

Linkto between static and edit text in b1 form.

Former Member
0 Kudos

hi.

Please have a look on below image..

i added some fields in sap b1 form ap invoice.

every thing is fine..

but what i need

normally if link is exists between two fields.

some horizontal link will be appear.

but that one i am not able to see it...

i don't have any problem..

but  looking is not good...

i all ready provided the link to between these two fields..

but no used.

i even check the height of the two fields...

it is showing same.... i mean top of the fields..

but i need a link between these two fields.

here is my code...

Any information please update me..

      oNewItem = oForm.Items.Add("Project", SAPbouiCOM.BoFormItemTypes.it_STATIC)

                        oItem = oForm.Items.Item("15")

                        oNewItem.Top = oItem.Top + 15

                        oNewItem.Height = oItem.Height

                        oNewItem.Width = oItem.Width

                        oNewItem.Left = oItem.Left

                        oNewItem.FromPane = oItem.FromPane

                        oNewItem.ToPane = oItem.ToPane

                        oNewItem.LinkTo = "Ct"

                        olable = oForm.Items.Item("Project").Specific

                        olable.Caption = "Project"

                        Dim oedit As SAPbouiCOM.EditText

                        oNewItem = oForm.Items.Add("Ct", SAPbouiCOM.BoFormItemTypes.it_EDIT)

                        oItem = oForm.Items.Item("14")

                        oNewItem.Top = oItem.Top + 15

                        oNewItem.Height = oItem.Height

                        oNewItem.Width = oItem.Width

                        oNewItem.Left = oItem.Left

                        oNewItem.LinkTo = "Project"

                        oedit = oNewItem.Specific

                        oedit.DataBind.SetBound(True, "OPCH", "U_ApProje")

Accepted Solutions (1)

Accepted Solutions (1)

edy_simon
Active Contributor
0 Kudos

Hi Srinivasan,

Add the edittext 'Ct' first before setting the label linkto property.

Regards

Edy

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Edy,

Thanks for this information.

Former Member
0 Kudos

HI,Mr Edy...

Thanks for your reply..

Keep posting..............

Answers (0)