Hey Guy, 2009/11/1 Guy Deleeuw <[email protected]>: > Hello Koen, > >> What do you intend with giving focus to a row/column: giving focus to >> an input field in a custom delegate? Are you hinting at a >> WTreeView::setFocus(WModelIndex index) method, and the addition of a >> setFocus() method in the WAbstractItemDelegate class to give an input >> field focus ? >> >> > I try setFocus, but I receive these error : > ‘setFocus’ is not a member of ‘Wt::WTreeView’ > Same error for the WAbstractItemDelegate > Regards > Guy
You can only do it for form widgets. What do you expect to be the result of giving focus ? The interpretation used by Wt is to handle keyboard input into the corresponding form field. Regards, koen ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
