I developing some kind of builder for our project. I want to use both drag and drop support and context menu in my application. Currently I use drag and drop support but no luck with context menu. Below is my builders gui.
Left side my gui is toolbox. I am draging and droping widgets to the right side(QGraphicsScene) and I also want to...
Hi All, Im just wondering if there is any method of catching any user interaction with the application.
The reason i ask is that when a user interacts with the app i update a date in the db. if they date is older than 10 minutes they are seen as offline by other users until they comeback and interact with the program.
Does anybody hav...
I need to retrieve an Infopath File, which is displayed and filled in on a sharepoint webpage, and save it's data to a seperate DB. There are 2 events that fire once the form is submitted. ItemAdding and ItemAdded.
I know that I can not retrieve the file from the ItemAdding Event because it only gets saved after the ItemAdding Event.
...
Hi, I wrote some code:
public class EventsType
{
public event EventHandler<MyEventArgs<Object>> NewEvent;
public void SmthHappened(string data)
{
MyEventArgs<Object> eventArgs = new MyEventArgs<Object>(data);
OnNewEvent(eventArgs);
}
private void OnNewEvent(MyEventArgs<Object> eventArgs)
{
...
Hi guys,
i have quite large ASP.NET MVC2 application - separate repositories in their own projects, using IoC for injecting them into controllers, etc. - standard stuff.
And here i need something, that will allow me to "globally" manage events in system and notify the user by few different ways (some events by email, some by internal m...
I have a class with an "Attach" function that accepts a function object and stores it into a collection. The class itself is templated on the function signature. Something like this:
template<class Signature>
class Event
{
public:
void Attach(boost::function<Signature> signature)
{
MySignatures.push_back(signature);
}
private:
...
NetStatusEvent has only one type of event: NetStatusEvent.NET_STATUS; but it comes with many codes for various cases.
Here they are, listed: http://bit.ly/ce3TvC
However, a lot of them are not triggered for me. I know some are FMS specific but I'm talking about "NetStream.Play.Stop", "NetStream.Pause.Notify" or "NetStream.Unpause.Notif...
I have three depending selects.
First one, have some values.
<select id="first">
<option value="1">v1</option>
<option value="2">v2</option>
</select>
Second and third are blank:
<select id="second"></select>
<select id="third"></select>
I want to populate blank selects via ajax requests.
So I do:
jQuery('body').delegate('#first'...
Hi,
I've seen code to handle MasterPage events in the content Page, but if I'm loading a UserControl dynamically into the Page, can I handle the event in the UserControl instead?
Basically I have a button on the MasterPage, when it's clicked I need to make the UserControl do something, such as display text or change a value in a form.
...
Hi guys, i just started two weeks ago with ObjectiveC and i'm a complete noob so, go easy on me.
I want to load a tableView with the following:
Upcoming Events
.event4 xx/xx/2010
.event5 xx/xx/2010
Pass Events
.event1 xx/xx/2008
.event4 xx/xx/2008
.event5 xx/xx/2008
i'm using Core Data with a fetchedResultsCOntroller. What's the b...
I have a UIButton and a UIView. The View sits above the button, and is larger than the button in size. The view itself is what I want to have accept the touch events, and I'd like to forward them to the button, so that all the normal button visual changes on touch happen.
I can't seem to make this work-- my UIView implements touchesBeg...
ok i know how to do the left mouse button down evet(WM_LBUTTONDOWN). but im having some troubles with it. when use it with vectors it seems to add 101 elemnts everytime the left mouse button is down. i think that every time the mouse button is down, it sends 101 messages to WM_LBUTTONDOWN that causes 101 elements to be added.
here is the...
So I am working on a project in which I need to trigger a click event. However, its a little more complicated then just that. I know how to dispatch an event by doing btn.dispatchEvent(), but the problem is I dont know which button it will be. Basically I am creating a wheel that spins. I need to trigger the click event of the element th...
I know that events in WPF bubble up the visual tree, so I don't understand why this simple example of catching the event of a context menuitem click event on it's parent listbox doesn't work:
<ListBox Width="200" MenuItem.Click="MenuItem_Click">
<ListBoxItem>
<TextBlock Text="Hello">
<TextBlock.ContextMenu>
...
I want to create an endless loop, 8 items moving in a circular shape. When you roll over of each item, it will stop the moving, and you should be able to click it.
I dont know what should I use, should I use Event.ENTER_FRAME or the circular shape should be in movie clip, so that when there is a mouse over event, it will stop moving? I ...
Hello,
we're currently developing an application that makes extensive use of popup windows(*) and have run into an issue on IE (this has been reported before but I couldn't find any solution).
The problem is this: our main window M opens a popup window P and keeps a reference to it. P then registers an event handler on an object in M. ...
As stated in the title i want to remove the mousewheel capability of the dijit.form.Slider since it sometimes triggers the slider when scrolling the page and the cursor hits the slider.
But it seems that the onmousewheel events are connected in the dojo source and we cannot replace or modify the dojo files.
Anyone knows a short solutio...
Hello,
Supposing I have a single class, containing a simple method. Let's say that there is a delegate with the same signature as this method.
I want to run multiple long-running processes, each one launched from this class. Each process contains an event, which is composed of multicast delegates of the same type as the delegate mentio...
This question has been brought up many times, but I'd like to ask it again because I've read some things here that didn't seem right to me (could be because one is related to the .NET CF), and I am asking for validation of a specific approach that I think is reasonable, and would appreciate any feedback you might have.
Anyhow, the situa...