Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Columns in an Edit Box?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00208959
Message ID:
00208962
Vues:
18
>I was wondering if there is a way to display columns of information in an edit box or should I use a grid instead? I am doing SET ALTERNATE TO a text file. And then using ? (questions marks) to create lines of text such as:
>
>I have a heading on the form above the editbox such as:
>
>NAME START DATE END DATE
>
>? mytable.lastname
>?? ', ' + mytable.firstname
>?? ' ' + mytable.startdate
>?? ' ' + mytable.enddate
>?
>
>And then I close the ALTERNATE and display the results in an edit box. But I want some of the information such as startdate and enddate to line up in columns.
>
>What do you think?

Sounds like a job for a ListBox actually; you can easily specify how to line up columns of data using the ColumnWidth property, and populate it in a number of different ways.

>
>Thanks.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform