I have a dual monitor setup, but I am sure it's the same with a single monitor. If I have two applications open, one is vim, the other is google chrome. Lets say the focus is on vim. If I switch to another workspace (ie. alt3) then switch back to that workspace (ie. alt1) now the focus is on google chrome. This process toggles indefinitely so long…
Since "upgrading" to 12.10, the multitude of problems and slowness has wondering me , if I'm running windows, so I want to take it back to 10.04.
Just some of the problems that we never had in 10.4:
Can't play YouTube and chat at same time;
Can't open more than 5 photos in GIMP without constant grayouts;
Can't easily close apps or programs on…
I am writing a program for a spelling test in vb 2010. I have 20 input textboxes for the user to spell the words as sapi says them. My question is ! How do I get sapi to say a word from a multiline textbox then pause and give the focus to the 1st textbox so the user can type it and give them 30 sec then sapi will say the next word then give…
This white paper describes and demonstrates how to write testable code with the ADO.NET Entity Framework 4.0 and Visual Studio 2010. This paper does not try to focus on a specific testing methodology, like test-driven design (TDD) or behavior-driven design (BDD). Instead this paper will focus on how to write code that uses the ADO.NET…
firstly I apologize if this question is not appropriate for the site, but I've seen other similar (though slightly deviant) questions on this sight before and I know the people here are the most qualified to answer my question.
Anyways, I'm currently between my sophomore and junior years at a 4 year university, and after a bit of…
I'm trying to expand and collapse a <div> by clicking some text inside the <div>. The behavior right now is very odd. For example, if I click the text after the <div> is expanded... the <div> will collapse and then expand again. Also, if I click somewhere inside the div after it is expanded, it will…
You have been a developer for 16 years, mostly in the unix environment woring with C, C++ and Java.
You are proficient in those skills, but can always improve. The jobs for C and C++ developers working
in the Unix environment are not as plentiful as they used to be, so you're looking to expand your skills.
If you were…
Note: I'm using Windows 7 with the classical alt-tab style, ie the registry key AltTabSettings set to 1.
I want to use MRU (most recently used) ordering of windows in the alt-tab list. However, because the windows are ordered in the Z order of the windows rather than actual MRU, this sometimes gives a different order…
I want to use the marquee effect on a TextView, but the text is only being scrolled when the TextView gets focus. That's a problem, because in my case, it can't.
I am using:
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
Is there a way to have the TextView always scroll its text? I've…
I have wpf datagrid with multiple selection (model has properties IsSelected...) and it works fine, but when I start program, I have to click on the table first and after that work multiple selection. When I first click on the table it select item under cursor (if i have pressed shift, it select the item too, not do…
Hi,
Can someone please help me out with printing the contents of an IFrame via a javascript call in Safari/Chrome.
This works in firefox:
$('#' + id)[0].focus();
$('#' + id)[0].contentWindow.print();
this works in IE:
window.frames[id].focus();
window.frames[id].print();
But I can't get anything to work in…
I have text area and and down to that "ok" and "cancel" button.
when i click on text area keyboard appear and focus on the text area and buttons get hide behind the keyboard.
i want when text area get focus scroll a little bit and also display the bottom buttons while text area id selected.
In IE when I select flash, document.onfocusout is fired.
When this event is fired, I would like to distinguish between selecting flash and leaving the browser. When I handle the callback, document.activeElement is the previous html element with focus (what I just left), so this is not helpful for solving this…
I would like to have a custom ListView, where each row contains an EditText field, that may be edited by the user. But when I click on one of the EditTexts I loose the focus, and can't type text there (I suppose because the other raws are redrawed and get the focus).
What can I do?
I have a form that I want to know which control on it has focus.
How can I do this? Best solution I have seen has me iterating all the controls on the screen. While doable, it seems like a lot of work just to know which control has the focus.
If a JFrame has a JDialog modal open, the JDialog is animated (the borders and title bar have a lighter colour) if any other part of the application is clicked other than the JDialog with focus. The user is made aware of the window in focus to attend to first.
I have a Swing application with custom dialogs,…
I realise it is possible to create a crosstab within sqlite, but is it possible to dynamically determine the relevant categories/columns at runtime rather than hardcoding them?
Given the following example, it can get rather tedious ...
SELECT
shop_id,
sum(CASE WHEN product = 'Fiesta' THEN units END) as…
In CSS, is there a standard way to colorize or apply a tint to a grayscale image?
I would like to create a grayscale image to show focus over an element, and allow the color of the focus to be configurable by colorizing the grayscale image.
Thanks
I want to do something when a client receives a message via a SignalR hub.
I've put together a basic chat app, but want people to be able to "like" a chat comment. I'm thinking the way to do this is to find the chat message on the client's page and update it using javascript. In the meantime to "prove…
The selected item in a WPF TreeView has a dark blue background with "sharp" corners. That looks a bit dated today:
I would like to change the background to look like in Explorer of Windows 7 (with/without focus):
What I tried so far does not remove the original dark blue background but paints a…
The .Focus() function will not work in Windows Server 2003. Is there any thing i can do to make it work?
WScript.Sleep 1000
.getElementByID("quickSearchMsisdn").value = "085729916"
WScript.Sleep 1000
.getElementByID("quickSearchMsisdn").value = "0857299167"
WScript.Sleep 1000 …