Information générale
Catégorie:
Codage, syntaxe et commandes
>I have a bunch of textboxes with names in them on a form. The user can click on a textbox with a name in it to see data about that name in the lower half of the form. I have the textbox enabled, but set as read only. But how can I stop the flashing cursor when they click on the textbox?
>
>I also change the DisabledBackColor to white when they click on the textbox and change it back to the default color when they leave the textbox and click a different textbox with a name in it.
>
>I imagine this is pretty simple to do, but I have never needed to do it and don't see a property that would do this other than Enabled, but I need to keep the textbox enabled so they can click on it.
>
>Thanks for the info.
you can click on buttons and lables, their will be no cursor, it's impossible for the user to directly change the data displayed, but there is not controlsource property and you would change the caption property rather than the value property. But I don't recommend clicking on lables ( users will find that rather odd )
- jer
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement