Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Focus
Message
From
21/01/2003 10:27:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Focus
Miscellaneous
Thread ID:
00743761
Message ID:
00743761
Views:
37
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 =)
If Bill Gates had a penny for every time windows crashed he'd be... Oh wait he does!
Next
Reply
Map
View

Click here to load this message in the networking platform