General information
Title:
Enter key failure in Formset ?
I created a formset and include two forms, form1 and form2. Form1 is visible, form2 is invisible.
Form1 has two texboxs and one pushbutton,code in the pushbutton click's event as follow:
Thisformset.Form1.visible = .F.
Thisformset.form2.visible = .T.
The Form2 has two textboxs and one pushbutton, too.
IF I Input data in form1's textbox1 and press enter then move to form1's textbox2 automatically.And I input data in form1's textbox2 then move to form1's pushbutton automatically,theen press enter,and
push form1's pushbutton then form1 is invisibled and form2 is visibled.But there is a guestion,when form2's textbox is setfocus ,the "enter key" is failure,I input some words in textbox then press enter key, the focus is not moved to next control.
It's always stay on textbox.
It's a serious, Please tell me what happen.
Thanks !
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only