 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Maarten Wiltink Guest
|
Posted: Tue Jan 17, 2006 10:04 am Post subject: Re: ListView - Selektieren eines anderen Eintrages verhinder |
|
|
"Alex Schlecht" <berian (AT) gmx (DOT) de> wrote
[...]
| Quote: | Ich habe eine Listview (Style Report) und kann die einzelnen Einträge
per Mausklick auswählen.
Das möchte ich nun in bestimmten Fällen verhindern. Wenn der gerade
aktive Eintrag einen bestimmten Wert hat soll es nicht möglich sein
einen anderen Eintrag auszuwählen.
Nur - wie mache ich das? Es gibt kein "OnBeforeSelection" oder sowas.
|
But there is an OnAfterSelection event (by any other name), and you can
simply disable the combobox when required. No way to make it readonly,
leider.
Groetjes,
Maarten Wiltink
|
|
| Back to top |
|
 |
Sonnich Guest
|
Posted: Tue Jan 17, 2006 6:03 pm Post subject: Re: ListView - Selektieren eines anderen Eintrages verhinder |
|
|
German or not, I get the point.
There is an OnChanging event, where you have an AllowChange variable.
Take a look at that.
BR
Sonnich
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|