Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Contents of my grid column jumps when I click on it
Message
De
17/01/2000 20:29:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Contents of my grid column jumps when I click on it
Divers
Thread ID:
00319258
Message ID:
00319258
Vues:
70
One of these days I'm going write a diatribe called "Ten Things I Hate About Grids".

Oh well, just one little thing today. I have a grid where I change values by clicking on cells. The first time I click on a column everything in the column shifts down a few pixels. (As if the text in one cell bumps into the next cell.)

If the column is empty only one cell shifts down. (The background color shifts down.) This happens even though the empty column is Not Enabled and ReadOnly.

My class structure is:

RGrid (based on Grid with no changes)
Column
Header
TextBox

I have redone a screen where this didn't happen. One of the differences in the old grid is that the text object is "txtDBCX", a codebook class.

I've tried setting alignment properties but haven't fixed it yet. So I'm looking for the right property.

One of the things that confuses me about grids is if and when column properties are applied to the contained object. For instance if I set the BackColor property of the column it doesn't carry over to the textbox even when TextBox.BackColor is set to default.

Peter Robinson
Peter Robinson ** Rodes Design ** Virginia
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform