on 06-09-2008 7:16 AM
Hi To All,
i had added controls in system form. whenever i opens the screen, the cursor is placed in the control which i had added. but i want the control to be in the first item of the form.... what to do.. i had given form.active.. but for tat it gives
Cannot get information for an item when the form is not active [66000-109]
i had given this form.active after adding controls in
Case SAPbouiCOM.BoEventTypes.et_FORM_LOAD
Catch event SAPbouiCOM.BoEventTypes.et_FORM_LOAD and pval.beforeaction = false
and in this event emulate click on first item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now also, i had got the same error.. Here is my source..
Case SAPbouiCOM.BoEventTypes.et_FORM_LOAD And pVal.BeforeAction = False
Try
objFrm.Freeze(True)
AddControls(pVal.FormUID, pVal)
objFrm.ActiveItem = "54"
objFrm.Freeze(False)
Catch ex As Exception
objFrm.Freeze(False)
End Try
Whether its correct...
User | Count |
---|---|
89 | |
7 | |
7 | |
4 | |
4 | |
3 | |
3 | |
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.