| To: | REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com> |
|---|---|
| Subject: | Listindex |
| From: | Antoine Crêtaux <antoine@cretaux.fr> |
| Date: | Thu, 19 Jun 2008 13:23:19 +0200 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug.fr-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug.fr-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| In-reply-to: | <3BBD0002-B672-4BF8-9D7C-AF66726C5D59@widemann.net> |
| References: | <mailman.9.1213815603.11536.realbasic-nug.fr@lists.realsoftware.com> <7C43FE28-8890-4090-8693-1B57138B888A@realworks.fr> <40FDD120-923E-4D17-B84E-22B4E0B6544D@marine-label.com> <3BBD0002-B672-4BF8-9D7C-AF66726C5D59@widemann.net> |
| Reply-to: | REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com> |
| Sender: | realbasic-nug.fr-bounces@lists.realsoftware.com |
J'ai un probleme avec un clic.J'ai dans ma fenetre plusieures listes indexée. Je désire donc passer en pametres à une fonction l'index et la liste ainsi que celui de la ligne. Je fais donc dans le mousedown de ma liste Function MouseDown(index as Integer, x As Integer, y As Integer) As Boolean
if IsCMMClick then
Wrencontre.ChargementRencontre(me.ListIndex,index)
End if
End Function
et lorsque je clique pour la premiere fois dans une des listes
me.listindex me renvoie -1. Les fois suivantes cela fonctionne
correctement.
Cordialement Antoine Crêtaux antoine@cretaux.fr |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: AppleScript et piece jointe, Benoit Widemann |
|---|---|
| Next by Date: | Re: Listindex, Arnaud Nicolet |
| Previous by Thread: | Re: AppleScript et piece jointe, Benoit Widemann |
| Next by Thread: | Re: Listindex, Arnaud Nicolet |
| Indexes: | [Date] [Thread] [Top] [All Lists] |