Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetFocus, PageFrames & Page Activates
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00145583
Message ID:
00145586
Views:
26
>Using both vfp 3 & 5 I have a form which has a pageframe. I want to tab from a field on the frame to a combo box in the grid so I've got a keypress event. The setfocus on the grid's combobox runs a page activate which I don't ask for and don't want because it totally alters the behaviour!
>
>Any clues on where I'm going wrong?
>
>Sarah

Sarah,

Is the grid on the same page as the "field"? What code are you using to setfocus to the grid and in what method are you writing that code? What type of control are you using for the "field"? Are you sure the "field" is in the page and not just in the form ON top of the page?

The Activate is an event that fires whenever the page gets focus, so if you are setting focus to the grid form another page or anotheer object then the activate will always fire.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform