Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting ColumnWidths In Code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01034883
Message ID:
01035179
Vues:
17
Ok, I see. Thanks!

>The TXTWIDTH() returns width in average characters. You've to covert it into pixels
>? TXTWIDTH("This is a long caption","Arial",9)  * FONTMETRIC(6,"Arial",9)
>
>
>>Ok, I'm not sure exactly how to go about this.
>>
>>
>>? LEN("This is a long caption") && Returns 22
>>? TXTWIDTH("This is a long caption","Arial",9)  && Returns 34.400
>>
>>
>>The width of the container below the label is 119, yet visually the are
>>the same width.
>>
>>So I'm not sure how to determine the correct size of a list column based on
>>another object's width.
>>
>>Here's a link to an image of what I want to do.
>>
>>The list columns should be the same width as the header containers above them.
>>
>>Any ideas?
>>
>>Thanks
>>
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform