BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: ListView - Selektieren eines anderen Eintrages verhinder

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Maarten Wiltink
Guest





PostPosted: Tue Jan 17, 2006 10:04 am    Post subject: Re: ListView - Selektieren eines anderen Eintrages verhinder Reply with quote



"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





PostPosted: Tue Jan 17, 2006 6:03 pm    Post subject: Re: ListView - Selektieren eines anderen Eintrages verhinder Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.