Questions tagged as 'eventos'

1
answer

Jquery beforeunload is called when I click on link

I want to perform a function only when the user closes the browser, but when I click on a link the event is triggered anyway. $(window).bind('beforeunload', function(e) { $.ajax({ url: "php/phpPerfil/brownserClosed.php" }); });...
asked by 13.08.2015 / 23:12
1
answer

When do I have to unsubscribe from events?

A question on the same theme has a answer it says:    You do not have to unsubscribe from an event when the instance that is subscribing has the same scope as the instance that is being subscribed to. Free translation:    You do no...
asked by 10.10.2014 / 16:23
2
answers

Events with namespace

I am studying about events in javascript without using jQuery, and I had a question: how can I add / remove events with namespace ?     
asked by 22.01.2015 / 20:14
1
answer

WindowsPhone - How do you fire an event "inside" another?

I defined the visibility of my combobox as Collapsed, for visual reasons and since the AppBarButton is more presentable. I want to know if it's possible to call the combobox event by triggering the event of an AppBarButton? Something like:...
asked by 24.07.2014 / 04:32
1
answer

Focus event in fxml

In the fxml file of a GUI we can direct the code to a method when a particular event occurs. For action events, it would be something like this: <Button fx:id="btn1" onAction="#actionPause" /> But as to whether the object has been foc...
asked by 18.07.2017 / 06:54
1
answer

What is the difference between Observables and common JavaScript events?

I've seen a lot of people talking about Observables and about the Observer pattern in general, mostly from the JS Rx library. What is the difference between observers and the events we usually treat, such as onclick , onkeypress ,...
asked by 28.01.2017 / 15:39
3
answers

Update secondary form without changing primary focus

I've developed a program in Delhi that has two forms , one with a grid and another with a map, the operation is simple: of the vehicle is updated on the map, the problem is that every time I call the procedure on the map form to update the...
asked by 03.02.2014 / 05:45
2
answers

dataGridView1_CellDoubleClick does not work!

I have the simplest function in the world and I can not make it work. When giving 2 clicks on any cell in my datagridview I want it to display the message "1" but it is not working! What's wrong? See my code: private void dataGridView1_...
asked by 16.06.2016 / 01:27
1
answer

Problem running eventhandler

I have a class, which is executed under a button, it makes two select in a bank. I am trying to do this with EventHandler , however, when running the system, it executes, but gives the error in the line: OnDataChange(info);...
asked by 05.06.2016 / 01:29
1
answer

Open word file through .jar

I have a .jar calculator that works perfectly! My doubts are: In the menu I have the "Source Code" button and I would like, when clicking, to open a Word document with the source code of the program. I managed to accomplish this task but only on...
asked by 15.05.2014 / 19:40