From: <kim...@ya...> - 2005-07-18 19:49:32
|
Schollnick, Benjamin wrote: > 1) How do I find out what Row the user has highlighted? I know > GetSelectedString will return the text, but I'm interested in finding > out row #666 is selected. > If nothing else, you can do a match of the list to get the number. if self.components.myMulList.GetSelectedString==self.components.myMulList.items[665]: May be there is an easier way that others can point you to. > a) How do I set the active row back to 667 or after I reload the > list? > Don't know how to set to a specific number but in my case, I've been using the SetStringSelection method. x=self.components.myMulList.items[666] self.components.myMulList.SetStringSelection(x,select=1) > 2) I have buttons on the custom dialog / MultiColumnList... But I would > like to activate the edit function if they double click on a row. I > thought it would be either on_Activate or on_ActivatedEvent but neither > of those seemed to work when I created a event handler. > I don't know the answer to that. > 3) > I don't know the answer to that neither. :=) -- John Henry |