General information
Category:
Forms & Form designer
I have tried this problem that you are having in VFP 7.0 SP1 but I didn't find any error that you have described.
Does textbox in either form in formset have some code or they are textbox without any code?
>I am using VFP6. I am using a formset and am having an odd problem. The enter key doesn't seem to want to move the cursor from text box to text box when I press it. I suspect that what is happening is that it's something to do with the focus. It sort of appears that two controls (on two different forms within the formset) both have focus at the same time. Text that I type appears in the text control box of form 3. But when I press enter, the click even on form 1 fires.
>
>Here is the code I have tried for the search button on form 1.
>debugout 'cmdsearch.click'
>*thisform.hide && I tried using this but didn't help
>*thisform.visible=.f. && I tried using this but didn't help
>*thisform.enabled=.f. && I tried using this but didn't help
>thisformset.form3.show()
>thisformset.form3.txtSearch.setfocus()
>
>
>Thanks in advance for any comments or suggestions =)
Previous
Next
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