Most voted "events" questions
An event is a form of a class to provide notifications to customers in that class when something interesting happens to an object.
Learn more…166 questions
Sort by count of
-
1
votes2
answers54
viewsEvent call at another event
I have in my code the event dgvCellValueChanged that will be triggered when some value of the label is changed, it calculates the value of column 0 * column 1( Value 1 * Value 2) and assigns the…
-
1
votes0
answers29
viewsHow are event subscribers executed after the call?
I’m trying to make a visual representation of random number generation using UWP. Basically, there are X rectangles on a screen, each represents a number, so the first rectangle is 0, the second 1…
-
1
votes0
answers105
viewsHow to enable events in mysql 5.7?
I’m trying to activate the events of mysql 5.7, but I get an error. To: SET GLOBAL event_scheduler = ON; I get: 01:16:06 SET GLOBAL event_scheduler = ON Error Code: 1227. Access denied; you need (at…
-
1
votes2
answers5055
viewsHow can I make a Reaction Registration Bot Discord.js
I was wondering how can I make a function on my bot with Discord.js registration by reactions added in a certain message? I saw some tutorials using the object raw but none currently works. My code…
-
0
votes2
answers611
viewsHow to check if there is a function in Titanium Studio?
I need to check if in a View there is an Onclick event that executes the test function if($.minhaview.propriedade == 'teste'){ alert("existe um evento onClick com o valor teste"); }…
-
0
votes1
answer71
viewsWidget for Events
Good night, I’m programming an HTML/css site for a band. The client asked to have a session with the schedule, I found the bandsintown manager, but wanted something similar, where the customer…
-
0
votes1
answer130
viewsHow to access the View that triggered one of the events of a Textwatcher?
Explanation: I have a common application where there are several components EditText, where I assign them an Handler that would be this one: TextWatcher handler = new TextWatcher() { @Override…
-
0
votes1
answer101
viewsHow to detect changes of more than 15px in Resize Window
I need to fire an event (Alert) whenever a window is resized, but only when the difference goes from 15 pixels (to less or to more). What is the simplest way to calculate these 15px?
-
0
votes1
answer68
viewsjQuery event without user interaction
I am accessing the Mysql database and giving a Select in a table q will return several ddd’s and phones, with this data I would send to a server via get or post using jquery with ajax. The problem…
-
0
votes2
answers669
viewsInfinite Loop in Event
I have a class called Dta that contains the following code: public event Dta._TimeOutEventHandler _TimeOut; public delegate void _TimeOutEventHandler(Dta dta); public void CheckTimeOut() { if…
-
0
votes1
answer489
viewsSynchronize Progressbar with Execution of class methods
In my project I have a class that has three methods: static List<string> ListaArquivos(string path){...} static void CriaArquivoUnico(List<string> listaArquivos){...} static void…
-
0
votes0
answers139
viewsEvent Listeners and Direct Manipulation of Event Propagation
My recent forays into PHP development were with respect to Event Handling and Event Listening. Through a Mediator it was possible to create a concise and elegant platform to elevate extensibility to…
-
0
votes1
answer661
viewsPrevent the event from being triggered 2 times
When I ask to open a modal for the first time it does the actions correctly, but when I close and open again the modal it performs the function twice, as I avoid this? function acoesModal(){…
-
0
votes1
answer424
viewsAngularjs ng-click event does not work when configured in an element coming from an asynchronous request
I have a page named listDT.php that contains a Datatable (https://www.datatables.net/). I used the Datatable plugin interface to dynamically load the Datatable content. The last column of the table…
-
0
votes1
answer34
viewsTilepane: how to create individual event on buttons
I have a difficulty using Tilepane, I can’t create an event for each button of the array. Follow the code for you to help me. `TilePane tilePane = new TilePane(); tilePane.setPrefColumns(3);…
-
0
votes1
answer139
viewsIdea of Event in the Laravel
I’m developing a system in Laravel(php). I read in several articles that "we should" use "EVENTS" to perform actions after the main one has been done, for example: -> in the controller: // I…
-
0
votes0
answers76
viewsIs there a socket.io event that activates when the client’s internet is slow?
Hello. I am in a project in nodejs + socket.io, I am with big problem, in relation to the client’s slow internet, I need to know if in socket.io there is some kind of event like this // If the…
-
0
votes1
answer400
viewsHow to use Js events without html
How do I make it spin ? <html> <head> <script language="javascript"> function teste(){ alert("oi"); } document.getElementById("as").onclick = function(){ teste(); } </script>…
-
0
votes3
answers1198
viewsBlock event click element
I have a JS function that displays banners on my page if it is the first access of the day. In this popup there is an input for the person to enter their email, but when clicking on the input, the…
-
0
votes0
answers119
viewsKnockoutjs shoot event after every modification in UI or model
Hello, as you would intercept changes in the UI or model that were made sensitizing the knockout? Using the subscribeI know there was a change in a property, but what if I had 100 models, with 10…
-
0
votes1
answer302
viewsClose element when clicking any other part of page
When the event is triggered, the element opens, but after that it does not close. How can I do so when clicking outside the "infoValor" the tooltype closes? function formTips(){ var…
-
0
votes0
answers379
viewsConsult Mysql to bring events before, during and after the current date
I asked this question but it had not become very clear the code so I decided to post again with it complete. I seek the help of friends for a solution if possible of this code. I have a mysql…
-
0
votes0
answers266
viewsHelp with Exception in thread "AWT-Eventqueue-0" java.lang.Numberformatexception: For input string:
I am concluding a code in java but I came across the error above and I am not able to solve. When I check the checkbox the fields are formatted, when I uncheck I get the exception above. Can anyone…
-
0
votes2
answers1098
viewsRun automatic click on form input
I have a search form, and it lists details. when accessing the details it saves session, but when returning the list saves the query in the session but does not execute the query. What I thought is…
-
0
votes1
answer121
viewsSet Google Analytics event label
good night.. I am configuring the events of the site’s Forums to be monitored by Analytics. But only one I can’t do the way I want.. Which is to take the label by the select field, for example:…
-
0
votes0
answers35
viewsHow to invoke an event treatment?
The idea is simple: I have an object like Node and would like to invoke the treatment of the event Keyevent. The treatment is not I who create, so I see no alternative but to make the invocation. I…
-
0
votes1
answer68
viewsShow a div when closing the tab
Guys, to be very direct, I will use as an example this site: https://www.gospelprime.com.br/ Whenever you move the mouse towards the close tab button (or simply click on it - whoever you want, you…
-
0
votes0
answers102
viewsDifficulties Asp.NET MVC... window does not appear correctly
I am new to the world of Asp.net Mvc and have had some initial difficulties. I’m trying to develop a calendar but by clicking a day to make an event... the window appears in a strange way, someone…
-
0
votes1
answer38
viewsRun event only if another event has already been run
I have two listeners for the event scroll and I need the second to be executed only if the first has already been executed previously, just once, until the first event runs again. For example, I…
-
0
votes2
answers101
viewsHow to create events in C#?
I have two classes one that has a list and I would like to have an event that every time that list was changed that event was called. public class Exemplo { List<string> lista = new…
-
0
votes1
answer40
viewsHow to limit subscribe to just one loop
I need to display an Alert every time my main Component changes route, so I created the following script in my AppComponent: constructor(private router: Router) { router.events.subscribe((val) =>…
-
0
votes1
answer36
viewsChange a table in the database from a date in another table
I have a ban_logs table that contains a date and needs that after that date, an event or Trigger is enabled to change the is_banned field of the user_data table. ban_logs id, user_id, date,…
-
0
votes2
answers35
viewsMenu close reads target as Undefined
I am mounting a simple menu that ends when clicking on "Document", however, it appears that the target property cannot be read to Undefined "Uncaught TypeError: Cannot read property 'target' of…
-
0
votes1
answer57
viewsEdittext does not accept Keylistener
Eae guys, I’m trying to define a Reader for an Edittext but it’s giving error. Error: setKeyListener (android.text.method.Keylistener) in Textview cannot be Applied to…
-
0
votes1
answer49
viewsHow to detect joystick events from the browser?
Hello, whereas I have a joystick connected and running on my pc; How do I receive events from it through the browser? That’s possible? I can detect keyboard events, only I wish my little game could…
-
0
votes0
answers31
viewsFirebase: Rename events
I received from my company the work of implementing Firebase in our flutter app, studied firebase and found the Events page of Firebase Analytics, and saw that the events already "came with…
-
0
votes1
answer31
viewsHow do I set an event to run when the app ends in Pyqt5?
I am creating an application in Pyqt5 and need to run a code when the application is finishing. For that, I thought about overwriting the method quit class QApplication: class MyApp(QApplication):…
-
0
votes1
answer278
viewsCan I create an event in Phpmyadmin?
I want to create an event in Phpmyadmin, where each day implements +1 in a field like int, but on my local server works normally, on hosting says I need the user super global, all right so far,…
-
0
votes1
answer842
viewsMysql - How to make a Stored Process be activated once a day?
I need a Stored Procedure to be called every day at 11:59 pm but I’ve tried a few ways and when it arrives at that time it doesn’t perform! CREATE EVENT `ATUALIZARDADOS` ON SCHEDULE EVERY 1 DAY…
-
0
votes5
answers1555
viewsHow to display DIV if radio is marked?
I have the following code: <form> <input type="radio" id="div1" name="consulta[]" value="1">Opção 1 <input type="radio" id="div2" name="consulta[]" value="2">Opção 2 <input…
-
0
votes1
answer424
viewsHow to run event right after $('div'). load(url)?
I want to know how to make one $('#div-search').on('load', ()=>{alert('carregou');}); I have a div where there are several $('#div-search').load(url) in the code. however now I need to perform a…
-
0
votes2
answers438
viewsHow to add event to an inherited form event in Delphi?
I explain, I have Fmodelo1 that has several standard functions, among them I have the creation of the Oncellclick event of a Dbgrid that is inherited to all the Formularios created from Fmodelo1,…
-
0
votes0
answers36
viewsWhy is the Activated event triggered more than once?
I need an event, which is triggered every time the user clicks Form, tried to use the event Activated but the event is shot 8 times for the same click. I’d like to understand why it’s shot so many…
-
0
votes0
answers125
viewsC/C++ How to declare a type for event handler in a class?
I need help in C/C++ to know how to define a type for event handler that will be used as a class member. This is an example that works with simple variables and functions: #include "cstdlib"…
-
0
votes0
answers50
viewsCopy HTML elements into a form
I want to copy the div clicked, into the form which already contains the select. For example this: var opt = document; function processar(el) { opt.getElementById('minhaLista').innerHTML = el; }…
-
0
votes2
answers110
viewsTrigger two functions with separate onscroll events - JS
Good morning, I need a help, I have two functions that use the onscroll event, a function to appear a "Back to Top" button where when it is presented to the user it can be triggered and will be…
-
0
votes1
answer267
viewsHow to disable the textchanged event in the load event in Visual Studio C#?
I have the following problem: I have a function that is called when the button triggers the textchanged event only when I start the program for the first time it calls the textchanged function in…
-
0
votes2
answers165
views -
0
votes0
answers151
viewsDuplicate call from onclick event in Delphi
When running the onclick event (from the btn_ImportarNFe button) the program calls the same onclick event again from the method call Nfe.EnviarEvento(StrToInt(IDLote)); from the second code snippet…
-
0
votes2
answers468
viewsHow to use onClick in Javascript?
Guys, I’m banging my head on something: There is an HTML code, which makes a form. In this form there is an answer that I can choose from yes and nay. The answer below this, provides a field, IF you…