Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hacking Form Wizard
Message
De
23/07/1998 15:38:37
 
 
À
23/07/1998 15:30:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00120694
Message ID:
00120703
Vues:
11
>I would like to modify the field labels that are produced when using the form wizard.
>Here's what I'd like to do:
>
>1. Add a colon to the end of each of the field labels.
>2. Autosize the field labels
>3. Align the field labels flush right
>4. Space the field labels so that the right sides are a few foxels to the left of the textboxes
>
>If this is possible, how do I hack the wizard to accomplish this?

A hack:

1. Define yourself a label class (say, myLabel) which on its init code adds itself a colon, and which has Autosize ON and TextAlign right as default.

2. USE your_screen.SCX, set filter to CLASS="label", and replace CLASS with "mylabel", and CLASSLOC with the name of your library (.VCX).

This is a "quick-and-dirty" solution; you will have to do the field positioning (your point #4) by hand.

HTH!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform