Skip to Content
0
Former Member
Oct 28, 2009 at 10:35 AM

is there any other way to focus my control when my form mode changes state

8 Views

hi...

i have written the following code in my item event.....

the purpose of this is...when my form changes to add mode...i want the cursor to be placed in my first control(i.e TextBox)

here my when i place this code in item event....my menu events are not working at all...and my item events are alos not working

is there any other way to focus my control when my form mode changes to any other mode.....

If (pVal.FormUID = "Form502") And (oForm.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE) Then

oForm.Items.Item("7").Click(SAPbouiCOM.BoCellClickType.ct_Regular)

End If