Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-line grid headers
Message
De
18/09/2001 09:02:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00557716
Message ID:
00557744
Vues:
8
Thanks; I'll try it as soon as top-management approves buying VFP7. Unfortunately, this can take quite a while.

Hilmar.

>Hi!
>
>I guess following could be used:
>
>Header1.Caption = "Line 1" + space(50) + "Line 2".
>
>
>>Daniel,
>>
>>Can I control where the text wraps? Something like this: Header1.Caption = "Line 1" + chr(13) + chr(10) + "Line 2".
>>
>>TIA.
>>
>>>Hilmar,
>>>
>>>In VFP7, the header object has a WordWrap property. Set this property to .t. and the text wraps. The grid column header does not expand to fit the text and the size of the font. You need to change the height of the header by setting the grid.HeaderHeight property.
>>>
>>>HTH
>>>>If I understand correctly, VFP7 allows multi-line grid headers. I think that for us, this would be one powerful reason for upgrading.
>>>>
>>>>1) Is there a workaround for VFP6? I am still using this version.
>>>>
>>>>2) How are the multi-line grid headers implemented in VFP7?
>>>>
>>>>TIA, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform