Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Centered texts in a grid
Message
De
16/02/2016 15:34:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Centered texts in a grid
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01631573
Message ID:
01631573
Vues:
70
Hi All,

I have a grid with several columns and textboxes within. The columns have Alignment=2 (middle center) and their Text1 also have Alignment=2 (center). It doesn't immediately display centered. Instead, it initially displays as 'top centered'. When I enter the cell with the mouse, it eventually corrects the display to middle center, what is what I want. Sparse is False.
I know I have dealt with this problem before, but I can't remember anymore what did the trick. The only thing that helps (and perhhaps I did that before) is to use setfocus() for all grid-fields in the form's init. That helps, but it introduces another problem, as it prevents a correct install of the form's menu.

Who has an advice?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform