Home » U++ Library support » U++ Widgets - General questions or Mixed problems » DropList with "quick trigger option": best way to implement?
DropList with "quick trigger option": best way to implement? [message #4909] |
Thu, 24 August 2006 22:16 |
Werner
Messages: 234 Registered: May 2006 Location: Cologne / Germany
|
Experienced Member |
|
|
I want a DropList which triggers an external action not only when the widget view is clicked (WhenClick) but already when a DropList item is selected (list.WhenSelect).
It is quite easy to achieve this by deriving MyDropList from DropList and overriding Select().
But I don't like this solution. It appears too complicated. Above all good C++ policy forbids to override non-virtual base class functions and Select() is a non-virtual function.
Is there a simpler or at least "cleaner" solution?
Werner
|
|
|
|
|
DropList with "quick trigger option": best way to implement?
By: Werner on Thu, 24 August 2006 22:16
|
|
|
Re: DropList with "quick trigger option": best way to implement?
By: mirek on Fri, 25 August 2006 00:21
|
|
|
Re: DropList with "quick trigger option": best way to implement?
By: Werner on Fri, 25 August 2006 06:53
|
|
|
Re: DropList with "quick trigger option": best way to implement?
By: mirek on Fri, 25 August 2006 09:40
|
|
|
Re: DropList with "quick trigger option": best way to implement?
By: Werner on Fri, 25 August 2006 17:07
|
|
|
Re: DropList with "quick trigger option": best way to implement?
By: mirek on Sun, 27 August 2006 20:01
|
|
|
Re: DropList with "quick trigger option": best way to implement?
By: Werner on Sun, 27 August 2006 20:45
|
|
|
Re: DropList with "quick trigger option": best way to implement?
By: mirek on Sun, 27 August 2006 22:56
|
|
|
Re: DropList with "quick trigger option": best way to implement?
By: Werner on Mon, 28 August 2006 21:57
|
|
|
Re: DropList with "quick trigger option": best way to implement?
By: mirek on Mon, 28 August 2006 23:27
|
|
|
Re: DropList with "quick trigger option": best way to implement?
By: Werner on Tue, 29 August 2006 21:24
|
Goto Forum:
Current Time: Fri May 17 21:39:42 CEST 2024
Total time taken to generate the page: 0.01590 seconds
|