Good day everybody.
I've doing a bit of "training" at working with Flex and Remote Data from XML files.
This is my HTTPService
<mx:HTTPService id="loginData" url="com-handler/basic.xml" showBusyCursor="true">
</mx:HTTPService>
I have a button and when its clicked its call a function, that calls loginData.send and does a little IF co...
Hi I'm a newbie at expression blend. I've created a button and added a storyboard animation within it. I've also added a hyperlink behavior. The link works but nothing happens when I hover over it to reveal the animation.
Are there any tutorials on how to link hyperlinks with animations?
Any ideas would be much appreciated :)
Thanks ...
I'm looking for a way to select all elements on a page, except those with a specified DOM location.. Here's an example of what I'd like to do:
jQuery('*').except('.ignore').bind('click', function(e) { ... });
Is this possible in a "native jQuery" way?
...
I've implemented the simplemodal plugin for JQuery. Very nice btw! Where I'm having an issue, is I have a list of links that are generated from a database, when I click one, I make a "load" call and add the results to my osx-modal-content div. How do I call the osx plugin after my load completes? If I add class=osx to my a href, the moda...
In Winforms what is proper way to keep a user from changing the value of a DropDown?
I want to prompt the user to say that there are unsaved changes. If the user decides to not throw away these changes I want to cancel the combobox changing. Any ideas on how to do this?
I though I had seen a e.Cancel option before. But maybe not on Syst...
We have recently attached a GWT MenuBar to a part of our application for, well, menu purposes.
Basically I want the sub menus to open when you mouse over the top level menu, which is easy enough to do:
menubar.setAutoOpen(true);
I would also like to have the sub menu automatically hide when the user's mouse leaves the sub menu. Ideal...
I need to update a table when user closed the browswer window and also want to destroy session . its urgent guys
...
hello,
I create MyWindow class derived from Window, and I capture the Window Messages refer nonclient area, for example WM_NCLBUTTONDOWN, it works :).
I want create my event and rise them when the message comes.
public event MouseButtonEventHandler MouseButtonDownOnCaption;
protected virtual void OnMouseButtonDownOnCaption(obj...
In excel 2000, is it possible to bind a vba function to be executed when a cell is clicked with the mouse?
...
Hi,
I'm trying to automate the adding of a keyphrase to events added to my outlook calendar (depending on the type of the event, want to add different keyphrases so that my smartphone profile switching software will correctly switch the profile depending on what I'm doing...)
Ideally, I'd want to hook an onsave event for calendar items...
I have a WPF application and I'm using the WebBrowser control to display some content from a public website.
Sometimes in weird edge cases when the network connectivity is flakey, the web browser will show the "This program cannot display the webpage" error page. Is there some way to listen to the WebBrowser to detect when this occurs,...
I'm creating namespaced events with jquery. When I use the following function with code=112, a function, bool=false, everything works fine in FF and the F1 key submits to my function and the event does not bubble up to open the firefox help in a new tab.
function bindKeyFunc(code, func, bool){
$(document).bind('keypress.' + code, f...
I have a User Control (uc) on a page. uc exposes some properties that get set on Page_Load() event of the parent page, and should be read while user control loads up.
Looks like Page_Load() of the uc fires before any properties get set from the parent page.
On what event should I set the uc properties so that it can use those propertie...
In a Web Part for Sharepoint, I'm trying to add a variable number/ordering of ButtonColumns to a DataGrid dynamically based on an option the user has selected. The problem is that the dynamic columns aren't firing off the events I set up on the DataGrid (such as SelectedIndexChanged). When the table originally constained a static set o...
I need to bind event listener to all dynamicaly created elements by given css selector.
In jQuery, that would be
$(".foo").live("click", function(e) {
// bar
});
Is there any equivalent in Prototype for this?
...
I've done some reading on SO, but didn't find the answer to my question.
As @Canavar points out in his answer there are 2 ways to subscribe to an event:
Declarative:
<asp:Button runat="server" ID="myButton" OnClick="myButton_Click" />
Code Behind:
myButton.Click += new EventHandler(myButton_Click);
I subscribe to events declarati...
I'm learning PowerShell 2.0 on Windows 7.
My task is simple: I want to listen for a WMI event and then display some information about it.
Here is what I'm currently doing:
Register-WmiEvent -class win32_ProcessStartTrace -sourceIdentifier processStart
Wait-Event
It seems to work. Indeed, I get this when I start a process:
ComputerN...
I've got this Prototype code to detect Enter pressing in textarea.
document.observe('keydown', function(e, el) {
if ((e.keyCode == 13) && (el = e.findElement('.chattext'))) {
e.stop();
// foo bar
}
}
And html
<textarea id="chattext_17" class="chattext" cols="20" rows="3"></textarea>
But the problem is, that ...
I have the following layer structure in Flash:
Spotlight - Has a transparent center area, is a bitmap symbol
Button
How do I make Button clickable even though the Spotlight layer? I want to toggle the visibility of the Spotlight layer with the click of Button like the following code.
Button.addEventListener(MouseEvent.MOUSE_CLICK, O...
How can i get hold of the instantiating object from a constructor in java?
I want to store reference to the parent object for some GUI classes to simulate event bubbling - calling parents handlers - but i dont wanna change all the existing code.
...