Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mysterious problem with my colleague's forms
Message
 
 
À
05/09/2001 16:18:38
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00552738
Message ID:
00552840
Vues:
11
>>Hi everyone,
>>
>>My colleague is having some strange problems, which neither I, nor she can explain. She had this problem before and she has it right now. She placed a grid on the form. In one of the columns she replaced textbox with a checkbox. At some point, check box becomes unaccessable, in other words, we can not change its state on the form itself by clicking. We checked enabled/readonly properties of this column and everything was fine. So, she ended by redesigning this form from sctrach.
>>
>>Now she has a similar situation, but unfortunately the form is more compicated now. She has a grid, in two columns she has editboxes instead of textboxes. Suddenly, these editboxes became unaccessable. We checked Enabled and ReadOnly properties in Debugger, and everything is normal again. The same grid works fine, if we place it to another form. She is now redesigning this form again, but this is very depressing, and we can not find a reason for this strange behavior.
>
>Just to add another WAG, which may be on the lines of what David said: could it be you're on the eof() in the currently selected table?

Thanks to everyone. We solved the problem. First of all, Work table had the following field names originally: expression, preview, field. We renamed them to expressn, prevn, fieldn. Also grid didn't have Alias.FieldName, but just FieldName as a controlsource for columns. We fixed this problem too. Now it seems to work just fine.

So, the conclusion: TRY TO AVOID VFP reserved words as field names! Also we had the problem, David mentioned.

Anyway, it works now!!!!!! Big sigh of relief... :)
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