Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Up and down arrow in gridheaders.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00496096
Message ID:
00496126
Vues:
9
>Hallo everyone!
>I want to put an up or down arrow in a columnheader on a grid, before or after the columns name, so the user can see on witch column the list is sorted. And if it is sorted up or down. Is there an easy way to do this? I am using Tahoma, and it has no "arrowcharacters", so I must do it in another way.
>Thanks in advace for a solution.
>/Kjell

There's a couple of ways you could do this. If there is an ASCII character that comes close, you could append it to the header caption. Or, you could skip the arrows and simply bold-face the column caption (that's what I've done in the past).

For fancier graphics you could dynamically position an image control where you want it, but that might be tricky to implement.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform