picyka Posted November 21, 2023 Share Posted November 21, 2023 How can I get data from the Event Source column? var LastAjaxEvent := TUniGUIApplication(UniApplication).UniSession.LastAjaxEvent; var Cmp := TUniGUIApplication(UniApplication).UniSession.CurrentComponent; TUniGUIApplication(UniApplication).UniSession.LastEventRec.Control.Name; TUniGUIApplication(UniApplication).UniSession.LastEventRec.EventName; What would be the correct way? Link to comment Share on other sites More sharing options...
picyka Posted November 23, 2023 Author Share Posted November 23, 2023 @Hayri ASLAN can you help me? Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted November 24, 2023 Share Posted November 24, 2023 17 hours ago, picyka said: @Hayri ASLAN can you help me? Can you add a simple test case? Where do you have this code? in mainmodule? Link to comment Share on other sites More sharing options...
picyka Posted November 24, 2023 Author Share Posted November 24, 2023 5 horas atrás, Hayri ASLAN disse: Você pode adicionar um caso de teste simples? Onde você tem esse código? no mainmodule? Once here on the forum, I remember seeing you saying that there would be a resource that tracked what the user did, I already use this information, I just wanted to know which would be the most correct, the function is in the MainModule. Link to comment Share on other sites More sharing options...
Recommended Posts