Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Cell changes when it gets focus
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid Cell changes when it gets focus
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 7
Divers
Thread ID:
01573890
Message ID:
01573890
Vues:
101
I have a grid. At run time I set some properties:

WITH ThisForm.grdQ
.RecordSource = 'MyQSET'
.ColumnCount = 4

.RecordSource = 'MyQSET'
.columns(1).ControlSource = "Question_ID"

.columns(4).ControlSource = "Seq"
.columns(4).header1.caption = "Sequence #"
.columns(4).width = 100

.SetAll('ReadOnly', .T., 'Column')

When I run the form, the first seq # is displayed as 0. When I click in the cell the correct value displays.

Clicking on any other cell (row or col) causes it to display as 0 again.

The underlying table has SEQ defined as Integer.

Theories:

1) SEQ is reserved? nah.

2) The builder did something behind the scenes. When I added the last column, it got unhappy.

3) It's a display highlight issue? nah.

Not coming up with much else. Ideas?

Hans
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform