Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent cursor for TabStop = .f. ReadOnly fields
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01171887
Message ID:
01172073
Vues:
11
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>How can I make sure that I can not put a cursor into Read-Only TabStop = .f. field? Should I program lostfocus and GotFocus events or I'm missing some property?
>
>Thanks.

In my opinion, Readonly = .T. in a Windows application should mean:

Readyonly = .T.:
You are allowed to read the value, also by selecting the field with the mouse, copying it into the clipboard and pasting the content into another application ("=reading the value"). Only you are not allowed to change the value.

Enabled = .F.:
The value you are seeing is not applicable in this situation. For example you have an option selected, and the values under another option are not applicable, but you are allowed to see what they might have been.

Visible = .F.:
You are not allowed to change, neither to read the value.

Therefore I never use Readonly = .T. if the user is not allowed to tab into the field. I use Enabled = .F. instead.
And I always allow users to select or copy values from a readonly field.

Just my 0.2 cents.
Christian Isberner
Software Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform