I can't seem to wire events to my UITextView.
I'm expecting that the list of events that are available for the UITextField ("Did End On Exit", "Editing Changed", etc) , should all be available for the UITextView.
However this isn't the case. UITextView in its events listing shows nothing.
What's going on here and how do I trap events...
I've made an itemrenderer for the combobox control that shows a button next to the label.
If a user clicks this button, the item gets removed from the dataprovider. Works so far.
When he selects an item, the combobox closes, that's ok. But I don't want it to close when he removes an item.
So is there a way to cancel the change event?
I ...
This is a absurdly common issue and having exhausted all of the obvious solutions, I'm hoping SO can offer me some input... I have a UserControl inside a page which contains a repeater housing several controls that cause postback. Trouble is, all of the controls inside of the repeater never hit their event handlers when they postback, bu...
Hello. I am implementing a GUI using Swing for a Java Music Player. I'd like to know if it is possible to make a time bar like the bar in WinAmp for example that can be moved to jump to a certain position in a song and shows the current position. If possible, how would one go about this?
Also, I'm using a JList to display Playlists and ...
Is it possible at all to create eventlisteners (i.e. when the value changes) for a variable of type string, int, bool, etc.?
I haven't seen this in any programming language so far, except for some Collections (like ArrayCollection in Flex), which use events to detect changes in the collection.
If not possible at all, why not? What's t...
Hi,
I have an Asp.Net web page, having the common Asp.Net form. The outer "border" of the page (i.e. main menu, header, ...) is build using normal Asp.Net code using a master page. The content of that page uses jQuery to display dynamic forms and to send data to the server.
If I push the return key on that page, I jump to a (more or le...
I'm implementing Comet using the script tag long polling technique, based on this page.
One issue (that I don't think there's a solution for) is the "throbber of doom" - the browser continues to show the document as "loading" forever and leaves the Stop button on the toolbar enabled. This kind of makes sense, because the document is sti...
Hi All,
Good day.
CppApp and CsApp Event Handle Design Changed. For Industry application.
Old design.
CsApp pull event from CppApp.
There are a lot of events from CppApp. So we created two threads in CsApp to handle the events from CppApp. It worked very well.
New design.
CsApp and CppApp com event (fire event method) design inst...
Hi,
I am programatically creating buttons and each button has a tag binary array. While creation I am binding an event Button.Click but I do not know how to add parameter since the eventhandler is already prepared. I would need to pass the tag of the button to method that is called by that event.Thank you!
...
I'm sure I've seen this around before but I'm wondering how I should raise an event thread-safely.
I have a message despatch thread which looks somthing like.
while(_messages > 0){
Message msg;
// get next message
if (MessageDispatched != null)
MessageDispatched(this, new MessageDispatchedEventArgs(msg.Msg, msg.Pa...
I have an class which should send/receive data in packet form. This class contains an event handler which runs when new data is available to be read from the physical medium.
In the event handler I read the data from the medium and parse the available data for complete packets. Once a packet is identified an event is raised to pass the ...
Hi,
My goal:
User should be able to get the html source of a page, when clicked on a button. This event opens a new form with a geckoWebBrowser component and navigates to a given url.
Once this is done it fires a documentCompleted event.
Then I can start loading the DOM.
The problem:
While the loading of the page needs time, I have to ...
Hi,
I'm using a jQuery plugin (http://www.soltanrezaey.com/bssound/demo.html) to add very basic audio-playing capabilities to a web page. The plugin works by creating an 'embed' element (I know, I know...), setting its src to the audio file, setting the autoplay attribute to true and appending it to the page.
Despite the use of the dep...
Hello all,
Typically, when needing to access an event, you do so via the parameter specified in the callback function:
$button.live("click", function(ev) {
// do something with ev here, like check 'ev.target'
}
But instead (for reasons too complicated to get into here), I do not want to use an anonymous callback function, but inste...
I'm trying to write an event handler that fires every time a node in a TreeView gets the focus. The problem I'm running into is that the event handler fires on the TreeViewItem (node) that I click on with the mouse, and then it continues to bubble up the control tree, even though I've set e.Handled = true on the RoutedEventArgs provided...
I handle commands inside a RoutedCommand class that implements RoutedUICommand. This would help me to block or override a command by checking their CanExecute and Execute if needed. I can override EditingCommand, ApplicationCommand, etc.. One of the command that I cannot even handle is Ctr + Spacebar. Is it a MediaCommand or some other t...
I want an event notification system that should notify the doctor when the heartbeat of the patient is greater than 120.I do not know, How to design such system. Just I have implemented the wrong one. Help me in implementing the correct one.
static void Main()
{
Patient[] patList = { new Patient
{ PatientID = "1", He...
Hello, experts.
I work in VB.NET v2
I have an interface IMyInterface and this interface implements a method MyMethod.
I have an object MyObjectBase. This object contains a(the same) method MyMethod.
1) If now I do MyObject Inherits MyObjectBase Implements IMyInterface need I to redefine? (shadow, override) MyMethod in the MyObject cl...
Hi I have an objectDataSource and i am trying to pass an object as parameter in its
Inserting event. For some reason the "Inserting" is not getting fired up before Insert is called.
It is not getting into
ObjectDataSource1_Inserting(object sender, ObjectDataSourceMethodEventArgs e)
Event block for some reason. Any idea ?
Here is the...
Im adding a list of buttons in code and also subscribing to their mouseleave event. For each button i subcribe to the event with an anonymous function, the problem is that when I run the app they are all subscribed to the last anonymous function. Here is the code, I hope I explained myself.
var modules = ModulesSC.GetAllMoudules();
var ...