Questions tagged [lost-focus]

The transition that occurs when a control status changes from focused to unfocused.

The transition that occurs when a control status changes from focused to unfocused.

182 questions
0
votes
1 answer

Android webview with editable content loosing it's focus

I've been trying to implement RichTextEditor using Webview. Webview is loaded with content editable html. To get focus on first time I need to click more than three times on webview. And It's also loosing it's focus when we click on end of entered…
Dev.Sinto
  • 6,802
  • 8
  • 36
  • 54
0
votes
1 answer

Lost Focus of App In windows Phone 8

Similar to Windows store Apps .How could i pause the game in windows phone 8. In windows Store apps Windows.Current.Activated = Activated; For Windows Phone 8 ???
SaravanaKumar
  • 739
  • 1
  • 7
  • 17
0
votes
4 answers

jQuery - hide dropdown when DOM element is focused

i got to show a dropdown menu, now i would like to hide that when anoher element (not dropdown or dropdown's children) in the DOM is focused. (hide dropdpown when element !== dropdown||dropdown's childrens is focused in the DOM) i tryed with…
itsme
  • 48,972
  • 96
  • 224
  • 345
0
votes
1 answer

In Qt4 is there a way to know from inside a widget if the focus has been lost?

I am trying to design a couple of simple widgets in order to get a better knowledge of Qt 4. (This is my first attempt at desktop programming - coming from a background of web development) One of these widgets is formed from a label, and a tool…
Marius Or.
  • 374
  • 4
  • 10
0
votes
2 answers

Must Lost Focus When no Item is Selected in a List View

I believe this is quite easy but I'm currently having problems with this right now. I have a list view and every time I click on an item, I'm storing its name on a string variable. What happens is that when I click an item on the list view and then…
Ryklon Zen
  • 173
  • 1
  • 3
  • 19
0
votes
1 answer

Is there a way to defocus fields in CDialog of VC++?

When I make a dialog using CDialog project of VC++, I can not defocus any field on this dialog(CDialog). What I want to do is how some field can be defocused when I clicked the outside of this field with mouse. Thanks for any advice and comments.
0
votes
2 answers

Hide a block on losing focus

I have a sub-menu. I want to hide it when user clicks anywhere outside it. I try focusout() and blur() jQuery methods, but they don't work.
hd.
  • 17,596
  • 46
  • 115
  • 165
0
votes
1 answer

Bring form on top of others when clicked on taskbar button in Delphi

Base question: TStatusBar flickers when calling Update procedure. Ways to painlessly fix this The executed code is in the questions first posts first part ( you can see light grey separating line ) ... But - problem is that while this code is…
HX_unbanned
  • 583
  • 1
  • 15
  • 51
0
votes
1 answer

Why navigationMovement for FOCUSABLE LabeField is bypassed in Blackberry?

I have a LabelField whith style FOCUSABLE and many focusable Fields after it, and I overrided the navigationMovement method of the LabelField. The problem is that: the code never enters in the new implementation of navigationMovement but the focus…
Ashraf Bashir
  • 9,686
  • 15
  • 57
  • 82
0
votes
1 answer

WPF textbox not losing focus when selecting custom control

In a WPF/MVVM application I have a custom control on a particular view. This control extends WPF DataGrid and contains User names and ids. On the same view I have some textboxes whose Text properties are bound to all different properties of User…
atiyar
  • 7,762
  • 6
  • 34
  • 75
0
votes
2 answers

how to run validation on text fields

The goal here is to validate each field as the user enters contact information AND eventually to apply auto-format (capitalization, spelling, etc) to each field. I have this nearly working using the following code, but it is based on a keypress…
-1
votes
1 answer

Disable window from calling SetForegroundWindow

I have a serious problem on my work machine with a third party software window stealing keyboard focus, using a winapi monitor tool i detect that whenever the windows steal focus it first call SetForegroundWindow. While searching about, i have found…
Cesar
  • 41
  • 2
  • 5
  • 16
-1
votes
1 answer

Lose focus without interacting with component element in WPF

I have an element within a border, which I change it's visibility to visible, on the click of a button. When this button is clicked, and the border element is shown, I am putting the border element as the focused element:
Navvy
  • 237
  • 3
  • 9
  • 23
-1
votes
1 answer

Winforms control LostFocus event not firing when you click the form background

I have a custom ComboBox which opens a separate control when you click on the arrow of the ComboBox. I would like to call the 'LostFocus' event handler to close the custom control when you lose focus of the ComboBox. This works fine if you click…
user3284707
  • 3,033
  • 3
  • 35
  • 69
-1
votes
1 answer

Delphi: Modal form on a dll to a splash form

So, I have this virtual keyboard... It's inside a dll, and based on a StayOnTop Modal form. It's called by a function, that returns a WideString with the typed text. This virtual keyboard has it's own TEdit where the user writes and see's what he's…
nunopicado
  • 307
  • 4
  • 17
1 2 3
12
13