Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Big problem: Form never gets focus
Message
From
16/05/1999 10:39:04
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
15/05/1999 15:29:41
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00219293
Message ID:
00219433
Views:
18
>I reread what you said above and things started to dawn.
>
>Remembering now: Forms can't receive focus... Labels can't receive focus... If there is no control on the form which can receive focus then the GotFocus() event never happens...
>
>One of the things I did on Friday was to change a control from enabled to not enabled. Every control on this form is read-only so I was probably thinking I should be consistent. Well that did it. There was no control left which could receive focus.

As far as I remember the official classification of programming events, this one's called "a gotcha" :). Still, I'd think that a read-only control could receive focus - like in an editbox where you can't write, but can select or scroll, and play with copy+paste (no cut, though). I'd better check that.

> I trust no bombs have fallen on your head so far. The NATO reps seem to have no shame. Everyone (me included) was outraged when 45 Kosovo civilians were found dead in a trench some months ago but NATO can kill 79 and brush it aside.

I'm OK, but those poor people down there were guilty of one single crime - going home without NATO's "protection". I've read the sites of the Western press (Time, for one) and it says they "came down from the mountains", and describe the place as "provisional camp", but didn't mention where they were heading. Actually, they were going home, and took some sleep by the road.

I wouldn't like this type of talk to get into a VFP forum - there's a link below, and we have a discussion group there, and I'm available there.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform