-
Posts
28 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by wkotze
-
Hi All I have a mobile app with grid on top and detail panel below, not having a mobile splitter, i improvised with buttons to increase/decrease height. Can anyone please assist with a better solutions thank you
-
thank you Sherzod,is hyperserver required however, is this not handled by IIS in an more optimized manner automatically as oppose the service mode?
-
hi Guys I currently run my application as unigui "service" with hyperserver. I do however want to start using IIS on the server (vps running win servewr 2016), as i have a need to run other websites as well on port 80 If i change my unigui application to run as "ISAPI" in IIS, do I still need to run HYPERSERVER ? thank you Wihan
-
thank you, very helpfull!!
-
sorry Sherzod, examples not clear. i am trying to display both the server time and the local time to thuser procedure TMainmForm.lbltimeClick(Sender: TObject); var servertime,devicetime : string; begin ... servertime := formatdatetime('hh:mm:ss',now) // javascript call to put local time into 'jsdatestr' // UniSession.AddJS(' var ldate = new Date(); var jsdatestr = ldate.toLocaleTimeString("EN-us").substring(0,8); '); <-- is UniSession.AddJS event the correct call ? devicetime := ??? <--- i need jsdatestr from JS above here uniGUIDialogs.ShowMessageN( 'server time is ' + servertime + ', your local time is ' + devicetime ) ... end
-
sorry Sherzod, can you please provide some code as in simple example i've used thank you!!
-
Hi Guys, how can i get the value from a script back into a local variable procedure blabla; var x1 : string; begin UniSession.AddJS(' var x = "unigui" ; '); // i want js x returned into variablex1 thank you
-
PERFECT! , thank you Sherzod
-
you can just place it on the form an test test1.zip
-
yes 1.90.0.1531, i suspect TUnimContainerPanel as well
-
I am not able in browser to (clipboard) selectAll or Copy any text in TUnimHTMLFrame; (worked in edge without higligting te selected text, BUT not in crome or firefox at all) thank yoiu
-
both servermodule.servermessages and maninmodule. servermessages is set BUT only servermodule. servermessages display on session termination I want maninmodule. servermessages to display NOT servermodule. servermessages
-
Farshad, only servermodule.servermessages gets called, maninmodule. servermessages inot test1.zip
-
thank you, I will try it
-
Sherzod, yes 've used Demos\Touch\DBGridImages project, i've added LNK calculatedfield as hyperlink to some page then added the column for LNK on grid , made it the 1st column, sortable = true, allowhtml = true and change font see layout, display correct, then i click on LNK to sort, and then whole layout get scambled thank you DBGridImages1.zip
-
guys something funny going on, the unidbgrid mobile grid sometimes hide a column on some records, and sometimes the whole column is hidden am i doing something wrong or is this a bug ?
-
any news on this
-
I am trying to show a normal (non-mobile) form from a mobile form, getting error "c is not a constructor" is it not possible to mix mobile and non-mobile in project ?
-
Hi Sherzod, on session terminate i want go the user a link to log back in with his url parameters if session started with http:/ip/?prodid=100, on session terminate i watn to hoew messgae : "Terminated, click here to return to http:/ip/?prodid=100" if session started with http:/ip/?prodid=200, on session terminate i watn to hoew messgae : "Terminated, click here to return to http:/ip/?prodid=200" if session started with http:/ip/?prodid=300, on session terminate i watn to hoew messgae : "Terminated, click here to return to http:/ip/?prodid=300" The maninmodule. servermessages is howver ingonred, and the servermodule.servermessages is displayed termmsg.dpr
-
I do use UniMainModule.ServerMessages, this is however ignored and Servermodule is used ServerModule.ServerMessages is used procedure TUniMainModule.UniGUIMainModuleCreate(Sender: TObject); var t : string; begin t :='<html><body><a href="[###url###]/'+ UserCode +'"><br>[###message###]<br>Restart application</a></body></html>'; ServerMessages.ExceptionTemplate.text := t; ServerMessages.terminatetemplate.text := t; ServerMessages.invalidsessiontemplate.text := t; end;
-
Hi guys, i want on session termination to display message particular to that session, and i've set the servermessages on creation of mainmodule, BUT this property is ignored and the servermodule servermessages is displayed instead Im I doing something wrong, or is this a known issue ?
-
Hi Guys depending on URL passed to browser I am tryiug to handle various redirections within ServerModuleHTTPCommand, is it possible to start the Session from here as well eg. if option1 then redirect1 else if option2 when redirect2 else if option3 then redirect3 else <start the main session> thank you
-
thank you for your reply, the management imho is easy enough, port from INI in ServerModuleBeforeInit, and start/stop service with batch files in folder, so IIS a bit of overkill if no gain in performance.