Project

General

Profile

Bug #3424

Setting focus programmatically for non WFormWidget-derived widgets

Added by Cameron Angus almost 8 years ago. Updated over 7 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.

#1

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

#2

Updated by Koen Deforche over 7 years ago

  • Assignee changed from Korneel Dumon to Koen Deforche
#3

Updated by Koen Deforche over 7 years ago

  • Status changed from InProgress to Resolved
#4

Updated by Koen Deforche over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF