Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why VFP internal messages are coming in some forms?
Message
 
 
À
27/01/2005 13:58:03
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00981197
Message ID:
00981362
Vues:
30
Hi Joel,

I do not have code in Activate. Calling dodefault() didn't help either. So, I decided to use brute approach and put set message to thisform.caption in form's GotFocus event. It helped. What is happening in between Activate and GotFocus and why there is a difference between some forms - it's a dark secret...

Anyway, now I'm fighting another bug... Last couple of days nothing works as it should. Now I'm having problem with a label. It just doesn't want to re-calculate its width after I change its caption, though AutoSize = .t.

>Hi Nadya,
>
>I'm not a Mere Mortals user, but do you have any code in the Activate() method? If so, did you remember to call DoDefault()?
>
>>I started recently to use Mere Mortals. I was working few weeks on a Search Form. It now works quite nice, but one thing is bothering me: most of our forms show form's caption in the Status Bar (because in the base form class we have set message to thisform.caption in form's Activate method), but my form and my colleague's Advanced Search form show information about v_User_Logs in the status bar. Do you know, why is it happening? If I do SET NOTIFY CURSOR OFF, I see an empty status bar and my form's caption is not shown.
>>
>>What would make these two forms behave differently from other forms?
>>
>>Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform