bonjour
je voulais savoir comment interrompre un callback de listbox
je m'explique :
si l'utilisatuer clique sur un élément de la listbox, je veux que le callback se lance
s'il vient à cliquer à nouveau sur un autre élément, je veux interrompre ce callback et le lancer pour le nouveau choix
il y a la propriété interruptible mais
theInterruptible property of the object whose callback is executing is on, the callback can be interrupted. However, it is interrupted only when it, or a function it triggers, calls drawnow, figure, getframe, pause, or waitfor. Before performing their defined tasks, these functions process any events in the event queue, including any waiting callbacks. If the executing callback, or a function it triggers, calls none of these functions, it cannot be interrupted regardless of the value of its object's Interruptible property.
je voudrais l'interrompre immédiatement où qu'en soit l'exécution
merci