I have the following line in my Window stanza in the XAML file:
Closing="Window_Closing"
I originally thought that the web page here assured me that this event fires when you use the big X close method, Alt-F4 or close from the system menu yet that doesn't appear to be the case since my breakpoint on the Window_Closing() function ...
Hi,
I am working on a gwt project and we are using eventbus for communicating events between widgets. I have 2 modules and when i raise an event in one module, the other module is unable to receive it. How can i solve this.Any help??
...
I would like to update a text field instantly when typing in a GWT TextBox. My problem is that ValueChangeEvent and ChangeEvent handlers only fire when the TextBox loses focus. I thought about using the KeyPressEvent but then nothing would happen when performing a copy paste with the mouse.
What's the simplest way to do that ?
...
hi all,
Well, MS introduced the IObservable interface as part of the .net FW 4 and i thought "great finally, i must use it !".
So i dug deep and read posts and documentation and even implemented the pattern.
After doing so i've realized that the basic implementation actually sends all the Observable events to all of its subscribers wi...
I know there are a LOT of similar question to this, but I've tried them all to no avail...so thanks for any help.
WHAT I AM TRYING TO DO:
I want to pass one-to-many parameters into each checkboxes 'click' event upon registration (see below).
WHAT WORKS:
I can register the event WITHOUT any parameters, and the click event raises...but I...
I have a Windows Forms Link Label, "Refresh", that refreshes the display.
In another part of my code, part of a separate windows form, I have a dialog that changes the data loaded into the display in the first place. After executing this other code, pressing "Refresh" updates the data correctly.
Is there a simple way for the dialog men...
Basically, I have a custom child form class which has events that will be passed to the parent. In the custom child form, I have a declaration of a "MustInherit" class that inherits the DevExpress User Control Class.
The reason for this, is I have many user controls that derive from this base class, and the child form can have an instan...
hi my dear friends :
i do not know what is going on my firefox!
my aspx and javascript codes are like this :
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
<script type="text/javascript">
function a() {
alert('a');
//alert(event.which);
//alert(ev...
I'm a newbie doing Objective-C, coming from Flex/Actionscript development.
I have an iPhone app with an UIApplicationDelegate conforming delegate called MyAppDelegate - it has a UIWindow.
Instead of adding buttons, labels and whatnot directly to the window, I guess I'm supposed to make a child class of UIViewController for every screen...
Hiya.
I would like to create my own events.
In action script 3 I can just extend the event class and create my own Event Class.
how can I achieve the same results using action script 2?
thanks.
...
How do you make a event-driven program where the execution of the main flow is suspended whenever an event is raised and handled, until the event handler finishes?
I created the following program
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Timers;
namespace EventTest
{
class P...
Hi, i've some Ext.FormPanel and i want to enable the "Save" button only when the user changes the values inside the form. How can i discover that the user changed some fields ?
I've tried with form.on("change"), SelectionMode but without any success.
Thanks
...
I have an interface defined as IStore, with two methods:
public interface IStore<TEntity>
{
TEntity Get(object identifier);
void Put(TEntity entity);
}
I want an event to be raised on the success of Put
(for reference, Put could store a row in a db, or file on the file system etc...)
So, a class implementing Istore for type ...
I have a VB .NET form with a splitter control on it, and I want to save its position between program runs. I am currently handling the SplitterMoved event and storing the SplitterDistance. Then on program startup, I set the SplitterDistance to the saved value.
However, sometimes the program resizes the splitter, raising the SplitterMo...
I added a domHandler for changeEvents. Following the answer here: http://stackoverflow.com/questions/3098694/enabling-and-disabling-save-button-on-a-gwt-page
This works for listboxes in Chrome and Firefox but doesn't work for IE8.
Does anybody have any recommendations? I rather not individually handle each textbox and listbox on our ...
I am trying to set an event in JavaScript but it is not really working. I am pretty sure I am doing it correctly too.
// in index.htm:
function foo() {
// Load gets code from a php file via ajax
document.getElementById('div').innerHTML = load('phppage.php');
document.getElementById('element').onClick = func;
}
// in lib.js:
func...
I've written a custom service that overrides ServiceBase.OnShutdown().
Unfortunately, when I log to the event log, nothing is written.
My guess is that the Windows event log was shut down before my service.
Is there a way to order service shutdown so that my servce shuts down
before the event logger? I don't want to have to write out to ...
I have a problem with bubbeling events. I manage to bubble events in borders, grid, stackpanel, but not in a ScrollViewer
If you look at the example below you will notice that when you click the TextBlock the event is bubbeled up to the Grid. But when I include the ScrollViewer the event stops here and is not sent up to the Grid.
Does ...
The note at the bottom of this Mozilla wiki page currently says: "Using canvas.drawWindow() while handling a document's onload event doesn't work. In Firefox 3.5 or later, you can do this in a handler for the MozAfterPaint event to successfully draw HTML content into a canvas on page load." Which is fine, except that I tried it in Fire...
I have a PHP array:
foreach($xpath->query('//a') as $element) {
$linklabel[] = $element->textContent;
$link[] = $element->getAttribute("href");
$i=$i+1;
}
I also have an HTML form:
<form name="keypad" id="form" onSubmit="return pass(this)">
<input type="text" size="100%" length="25" value="" name="lcd">
<input type="b...