Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Centered texts in a grid
Message
De
17/02/2016 08:11:40
 
 
À
16/02/2016 15:56:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01631573
Message ID:
01631595
Vues:
48
>>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?
>
>Sparse, maybe?
>
Sparse must be False in order to get a correct display of the other cells. However, see also my reply to Thierry Nivet.
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform