Thanks Boris. It works pretty well.

_______________________
Mario Diethelm Guallar

On 24-03-2013 05:18, Nagaev Boris wrote:
Hello!

Use method sender() of WObject. BaseClass must be descendant of WObject.

http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WObject.html#a413deb54de40ee278dd554e4960d58ca

On Sun, Mar 24, 2013 at 4:23 AM, Mario Diethelm Guallar
<mari...@terra.cl> wrote:
Hi there,

I am building an application that set a series of fields in screen from a
C++ vector<> (between the data fields stored in the vector I have the field
label and type for the actual screen field).

I put every field in screen (most of them as WText) and for each field (let
say Field_n) I set a unique function to connect mouse click or Enter key
pressed over those fields (Field-N->clicked().connect(this,
&BaseClass::UniqueFieldTreatmentFunction))

Is there a way to identify, inside this unique function
UniqueFieldTreatmentFunction the actual field (widget) that was clicked or
enter pressed over?

Thanks a lot.

--
_______________________
Mario Diethelm Guallar


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to