Page 1 of 1
set Window(Editbox) as active?
Posted: Mon Nov 19, 2007 11:41
by djphilipe
How I set a window(Editbox) as active?
Because I am doing KeyBoard(keys as images) and I want CARAT always show.
Sorry my Engish
Thanks
Posted: Mon Nov 19, 2007 15:06
by djphilipe
However the editbox is not active,carat is always visible.
How please?
Posted: Mon Nov 19, 2007 21:04
by Rackle
Have a look at the
Tab_Order code snippet. The Taharez scheme does not have a visual cue for every selected widget. In that code I show one way of displaying a highlight. However the best solution would be to create a scheme that actually displays the selected widget, such as dotted lines around the text of the widget.
Posted: Tue Nov 20, 2007 07:45
by djphilipe
Thanks.
I have solved the problem.
pEditBox->setText(m_sActualText);
pEditBox->activate();
pEditBox->setCaratIndex(m_stCaratPos);