Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting label measurements during runtime
Message
De
14/07/1998 21:16:31
 
 
À
14/07/1998 18:41:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00117387
Message ID:
00117414
Vues:
14
>Hi, I need to know whether it is possible (before I set out to try and do it!) to have users set label layout dynamically from within the compiled exe program. I basically want the user to be able to define the report layout (similar to what addlabel in the tools directory does), setting the number of labels across and the measurements from the edges to the labels and between labels, allowing them to set this in a "label setup page". I need to know whether this information is stored in the lbx file, and if so, just how accessible it is! If rather straightforward, I would have the app use the label layout file and adjust these values accordingly. Thanks for any help!

This info is very accessible in the lbx file. Just use my label.lbx and look at the available fields. I suppose you could even bind spinners and such to the vpos, hpos, height and width fields. NOte that report fields have objtype = 8, and labels have objtype = 5. Both hold their expressions in the expr field.
Just checking out the fieldnames in the lbx file will give you a good idea of what you can do. HTH
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform