Search the Community
Showing results for tags 'variable'.
-
Good afternoon! I developed an entire system in standalone mode (exe), and configuring it to work on IIS works perfectly, however, I changed it here to generate DLL, which instead of IIS creating a connection for each EXE, it will use the sessions of IIS itself. , but now, the variables were shared between users. I created a DataModule only to store specific variables and functions, but I encountered this problem when using DLL (CGI) in IIS. What would be the recommendation for this not to happen?
-
I have a public integer variable named myval in TMainForm . how can I use it in a function of ExtEvents? I tried it below it works but I don't want myval to update every time. Self.WebForm.JSInterface.JSAssign('myval', [2356]); Is there a command that works like the following? I tried the UniSession.AddJS('TMainForm.myval') but it didnot work because I am new I dont know how to use it . This question has been asked a lot, but I could not find any clearly answer. Thanks Bektas
-
Hello , I have a variable in number format. I have a button and a label object. When my variable is 1, the background color of the button and font color of the label will be green. When my variable is 2, the background color of the button and font color of the label will be red. How can I do these codes in Delphi and Javascript? My Version is 1.90.0 build 1547 TUniSpeedButton *offline1; offline1->Down=true; //not working offline1->Color=(TColor)0x003FEC89; // not working they are very simple things but They do not work properly. Where am I making a mistake? Thanks C.BEKTAS
-
Hi Farshad, I know it's a "stupid" question, but why is it mandatory to display Form after creating it in UniGui? Is not there really a way around this? I understand that I'm messing with the View layer of the application, and it does not make much sense to tinker with the View and not display it. But sometimes we want to just get a name from a Form component, or a component property, or even run some component event on the Form.