Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make editbox scrollbar disappear if not needed?
Message
De
15/04/2012 17:27:26
 
 
À
15/04/2012 09:55:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01541549
Message ID:
01541579
Vues:
58
>Is it possible to have an editbox where the vertical scrollbar only appears if necessary?
>
>I believe I can compute how many lines will fit in an editbox, but know of no way in which I can
>tell how many lines will be displayed because of the automatic line wrap.
>
>Two things I need to mention:
>(1) This editbox is disabled, so I don't have to be concerned with what happens with user input.
>(2) I can't use any other control instead, it must be an editbox.
>
>Thanks

Overlay the scrollbar with an opaque shape with NODEFAULT in its Click event.

-m.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform