Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Column in grid doesn't keep format/size
Message
De
20/10/1999 13:10:21
 
 
À
19/10/1999 20:23:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00278335
Message ID:
00278948
Vues:
17
Hi Ed,

I finally discovered what the problem was. I had something in the interactivechange event that shouldn't have been there. That's what was causing all the confusion. Thanks so much for responding.


>>Grid column has a control source from a view, it is numeric, 8,2. The data comes in properly when first run, but when the user tries to change the data, it's as if the format or input mask is "9.9"
>>Checked the inputmask for column and textbox, it is "99999.99". But here is the strangest part - if the grid has five records for example, the very last row has the input mask correct and will allow the user to enter five numbers plus two decimals (as it should). But the previous four records won't allow more than one number and one decimal. Each time it is run, whether the grid contains two records or ten records, only the last row will allow the correct entry. Help.
>
>Try to debug this situation by following code:
>Thisform.Mygrid.ColumnX.Text1.Inputmask="99999.99"
>add it to some place, e.g. Form.RightClick event and try it in run-time. If it will help, then you may change the way you re-populate you grid.
"Live Well, Laugh Often, Love Much..."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform