Actions
Bug #3424
closedSetting focus programmatically for non WFormWidget-derived widgets
Start date:
07/04/2014
Due date:
% Done:
0%
Estimated time:
Description
A non WFormWidget widget (for example, a class derived from WPaintedWidget) can be configured to accept focus by calling setAttributeValue("tabindex", "0"). This enables focus derived from user input (tabbing, mouse clicks), however there is apparently no way to set the focus programmatically. setFocus() is a WFormWidget method and so unavailable. setFirstFocus() will only consider WFormWidgets.
Updated by Koen Deforche about 10 years ago
- Status changed from New to InProgress
- Assignee set to Korneel Dumon
- Target version set to 3.3.4
setFocus() should move to WWidget/WWebWidget/WCompositeWidget
Updated by Koen Deforche about 10 years ago
- Assignee changed from Korneel Dumon to Koen Deforche
Updated by Koen Deforche about 10 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche about 10 years ago
- Status changed from Resolved to Closed
Actions