Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EditBox and ScrollBars
Message
 
 
À
15/12/2004 10:34:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00969445
Message ID:
00969458
Vues:
9
>I need to display a file in an edit box but I need bottom scrollbars. I need the text to NOT wraparound if it extends beyond the width of the editbox. Can this be done?
>
>UPDATE:
>ActiveX Forms 2.0 Textbox control seems to work but I need to change the font to a fixed font. Cannot seem to locate that property. Any ideas?

Let intellisense help you out here. Open the init method of the form that this control is on. Then start typing:

THIS.txtFileName.Object.

See if there is a property that you want. If there is, you will probably need to leave this code in the init for the font to be set at runtime. Sometimes, property values that you set for ActiveX controls within the actual control at design time will not be "saved" for use at runtime. So you have to programmatically set them via code.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform