In my c# application used 5 projects which are placed in 2 solutions.
Solution1 : Project 1 - Print module. (class Lib project)
Solution2 : Project 2 - Inventory module. (Application project)
The problem :-
Inventory module "Application Exit" event raising after the print function.
The print function placed in "Solution1...
I am trying the following:
var showTooltip = function(event) {
if(event.target == "<a href=\"view_repair.php\">") {
$tooltip
.text('View full repair details')
.fadeIn('slow');
positionTooltip(event);
console.log(event.target) in Firebug gives
<a href="view_repair.php">
But the code inside the if statement isn't being run. Is th...
On PostBack, from clicking on an ImageButton, it first hits
protected void Page_Load(object sender, EventArgs e)
Then it hits
protected void ImageButton_Click(object sender, EventArgs e)
My problem is that in my Page_Load it refreshes a ListBox before the selected items can be processed by ImageButton_Click.
Is there a way to te...
I have a specific requirement that all children of a particular JComponent have double buffering turned off. I can recurse through it easily enough and disable them when needed, but I'd like to detect the addition of new children components regardless of their position in the hierarchy and disable it then.
I've taken a look at addHiera...
I'm using keydown event
where i get the keycode and convert it to charcode.
But i got a problem where in keyboard is press "2" it gives 50 and charcode as "2"
whn i press "2" in numpad it gives keycode 98 , so whn i convert charcode "a"
help please,
on Advance thanks,
Santose
...
Hi There,
can i implement a SOAP Service which can deal with delegates/events?? Can i also use Streams with SOAP? How does it look like in C#?
thanks,
el
...
I've recently been bitten by the javascript:void(null); bug in my hrefs when applied to images.
In my version of Safari (4.0.3 in Leopard PPC) when I apply an href of javascript:void(null); around an image, the image completely disappears from the layout. Looking around I see this happens in IE as well though I cannot confirm.
I've rea...
So I've tried a bunch of plugins, to no avail. Wordpress continues to foil me with its default behaviours. Here's what's needed:
An events page, which lists the events, and has the time of the event (NOT the time it was posted), location, and an excerpt/blurb/summary
a left sidebar of said events page needs to have a calendar which sho...
I've got an XBAP hosted in FireFox, which works great. However, I cannot detect MouseWheel events ever! I'm guessing that FireFox is consuming them and not passing them down to the hosted app.
Any ideas on how to work around this?
...
I'm trying to use jQuery to intercept control-A keypresses on my web page, like so:
$(document).keypress(function (event) {
if (event.ctrlKey && (event.which == 65 || event.which == 97)) {
event.preventDefault();
// ...
}
});
This works on Firefox, but on IE7, my event handler doesn't get called, and all of the...
First, I'm using Qt at the moment. However, I want the program eventually able to run without a GUI environment, leaving the graphical aspects for configuration mainly. The program makes hefty use of Qt timers and signals/slots, partially for QtScript. So if I want to make it non-GUI operable, hopefully parts of Qt can run without a GUI ...
Let's assume that we've got 2 windows processes ,
Process A is the sender, and Process B is the receiver.
Process B is running a classic Win32 API events loop
How do I generate and send mouse and keyboard events from process A to B ?
...
Interfacing with legacy code, and I've got something like this:
Event.observe(some_form, 'submit', [some anonymous function])
I'd like to grab that anonymous event handler back out, is there an easy way to do that in Prototype?
...
Hi, in AS3, I have an external class ImageLoader, that loads an image upon request. In that class, I have an event handlers:
ImageLoader Class
public function loadImg(path:String):void
{
ldr = new Loader();
ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, getProgress);
var req:URLRequest = new URLRequest(path);
ldr.lo...
I am using jScrollPane to scroll a div. Currently the default is to click the up and down arrows to scroll the pane. But, I would like to use mouseover instead. I have looked at the code but it is not entirely obvious how one would do this.
Has anyone done this before? Ideas?
http://www.kelvinluck.com/assets/jquery/jScrollPane/sc...
I was trying to make a javascript gallery script by my own.
When i have done with it i was pretty happy, until i noticed, that it doesn't work in IE6.
In FireFox everything looks fine. So i started debugging.
I noticed, that setAttribute is one of the problems for sure. Maybe even the biggest.
So after viewing an interetsing article abo...
Hey guys,
This semester I started a programming club at my university since we did not have an existing similar group with the idea that it would be a place to hang out for computer science majors and partake in activities such as lectures on interesting topics, social events and group projects.
However as this is the first semester st...
Can somebody explain why the .Net framework team decided that a delegate without subscribers should be null instead of an object with an empty InvocationList? I'd like to know the rationale that led to this decision.
void DoSomething()
{
EventHandler handler = SomeEvent;
if(handler != null) //why is this null-c...
Hello,
I was wondering if there is a clear distinction between message driven and event driven environments when we refer to SOA or middleware and generally in cases of application and enterprise integration. I understand that a user interface resembles an event driven model where our system intercepts action by the user.
Also it is cl...
I have a process written in C++ that raises a named event using CreateEvent.
Is there a java implementation of the WaitForSingleObject function?
Is there a better way to pass events between a C++ or .NET process and a Java process?
(I am aware of the option to use JNI to wrap whatever calls I want. I am looking for a library that alrea...