Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Focus
Message
From
21/01/2003 14:20:32
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Focus
Miscellaneous
Thread ID:
00743761
Message ID:
00743857
Views:
10
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
Map
View

Click here to load this message in the networking platform