Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent control from getting focus due to rightclick
Message
From
08/05/2002 14:49:46
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00653252
Message ID:
00654167
Views:
28
>>Another thought: what if, in the .when, you had
>>
>>
this.oPrevObj=thisform.activecontrol
>>
>>and in the end of the click code,
>>
>>
this.oPrevObj.setfocus
>>this.oprevobj=.null.   && just dereference it
>
>That works perfectly and encapsulates the behaviour in the control!! Why didn't I find that out myself <g>?

It takes a good question to get a good answer. I could also ask myself "why didn't I think of this before" and the answer would be "because nobody asked for it".

Have a good one. Hey, ...Stuttgart? When was it, June 1990, Sommernachtsfest and "ein liter krüg"... 4DM for the beer and 4DM for kauzion which I gladly let them keep and took the thing home as a souvenir :). Good old times and good old alt bier...

back to same old

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

Click here to load this message in the networking platform