on 09-22-2008 11:48 AM
Hi Friends,
I have created a form in SAP B1 screen painter.
In that form i have taken textboxes, labels, radio buttons, matirx, etc...
My computer screen resolution is 1024 * 768.
I tried to work the same form in 800 * 600. then i saw that some fields are overlapping with each other and some fiels cannot be seen.
If i tried to work same form on the resolution 1152 * 864 then there is lots of space left between two fields and the form looks bad. some fields are still overlapping.
Please Help.
Hi,
You need to set the location for your items on the following event.
1.FORM_LOAD
2.Form_Resize event
as
'Intialise form
OCT_Form = OCT_Application.Forms.GetForm(806, 1)
OCT_Item = OCT_Form.Items.Add("lblSecCd", SAPbouiCOM.BoFormItemTypes.it_STATIC)
OCT_Item.Left = OCT_Form.Items.Item("32").Left
OCT_Item.Width = OCT_Form.Items.Item("32").Width
OCT_Item.Top = OCT_Form.Items.Item("46").Top + OCT_Form.Items.Item("46").Height + 10
OCT_Item.Height = OCT_Form.Items.Item("32").Height
OCT_Static = OCT_Item.Specific
OCT_Static.Caption = "For Testing"
lblSecCd is user defined lable added on the form.
Hope this will help you.
regards,
Mahendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Load your form again in Screen Painter. Look for the property called 'linkto' for all the label (static text) and give the unique id of the text field or other editable fields which links to.
for example
Username - static txt (label) - unique id -1
username - Edit text - unique id -2
Select username- static text to properties window assign 2 in linkto property.
I hope this will do
Regards,
Tamil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this.
When you bind your controls to the Form,use
oForm.Freeze(true);
//Control binding
oForm.Freeze(false);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
11 | |
10 | |
6 | |
5 | |
5 | |
5 | |
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.