Project

General

Profile

Actions

Bug #3424

closed

Setting focus programmatically for non WFormWidget-derived widgets

Added by Cameron Angus over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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.

Actions #1

Updated by Koen Deforche over 9 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

Actions #2

Updated by Koen Deforche over 9 years ago

  • Assignee changed from Korneel Dumon to Koen Deforche
Actions #3

Updated by Koen Deforche over 9 years ago

  • Status changed from InProgress to Resolved
Actions #4

Updated by Koen Deforche over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF