Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Developer
wilochoa14
Posts: 12
Registered: ‎10-15-2012
My Device: Dev Alpha 10

I need help with a textfield and submit event

campodebusqueda = new TextField();
campodebusqueda->setHorizontalAlignment(HorizontalAlignment::Center);
campodebusqueda->setVerticalAlignment(VerticalAlignment::Center);
campodebusqueda->setHintText((const QString) filtro);
campodebusqueda->setPreferredWidth(530.0);
campodebusqueda->setPreferredHeight(65.0);
campodebusqueda->input()->setSubmitKey(SubmitKey::Connect);
QObject::connect(campodebusqueda->input(), SIGNAL(submitted()), this, SLOT(filtrarbusqueda()));

 

this is my textfield, but don't work.  never call the event.. Someone know why? Someone could help  me?

Please use plain text.
New Contributor
codealot
Posts: 3
Registered: ‎08-20-2012
My Device: Blackberry Dev Alpha

Re: I need help with a textfield and submit event

I'm also observing the same problem. Anyone with an idea on how to get a workaround?

Please use plain text.