Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox behavior
Message
De
10/10/2009 20:41:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
10/10/2009 18:10:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01428691
Message ID:
01428704
Vues:
86
>I'm wanting to make a textbox display its contents but not be clickable. I have tried readonly and not enabled, but the user can still click onto it and if they drag the mouse, it will highlight. This is the behavior I'm trying to prevent. Any possible way of making objects "non-clickable"? Thanks.

.Enabled = .F. should be enough to avoid the user clicking on it. Use the debugger to check whether it actually STAYS disabled. Perhaps some code in your framework is setting it back on. I had this problem in Visual Extend, and finally figured out that at least in some cases, I had to set ANOTHER property (framework-specific) to actually keep an item disabled.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform