Skip to Content
0
Former Member
Jul 18, 2008 at 05:58 AM

For Validation

18 Views

Hi All,

I tried following code for enter only number in textbox, but this code where i use and i want when i run the application SAP screen painter page through .Net that time user don't want to enter any character in that textbox how i use this code and where i use this and on which listener.

And how to get object of form and from where i get it.

dim UDS as sapbouicom.userdatasource

UDS = objForm.DataSources.UserDataSources.Add("Number", SAPbouiCOM.BoDataType.dt_SHORT_NUMBER)

objEditText.databind.setBound(true, "", "Number")