Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Swiss Cheese Continuum...
Message
From
24/02/1998 06:37:06
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00080706
Message ID:
00080721
Views:
26
>I seem to have everyone's attention now...
>
>Read on...
>
>I have two forms in a formset, each with 3 text boxes. If I make the 2nd box have WHEN .F., I cannot PGUP from the second form.
>
>I can use PGDN, clicks, TABs and any other way.
>
>But I cannot PGUP - I know that this is a known bug - I need the easiest work around.
>
>All answer are welcome.
>
>Regards,
>
>Kev
Yes Kevin,
You're right. I had never need for that. There are workarounds though. One of them, quick but not smart at all.
* Form.keypress  && Each form and keypreview = .t.
if nKeyCode = 18  && PageUp
    nodefault
    thisformset.form2.text3.setfocus && Last control
**
* Add a routine to find the last form and last control
**    
endif    
Normally pageup would set focus to last control, on last form.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform