Jump to content

wkotze

uniGUI Subscriber
  • Posts

    28
  • Joined

  • Last visited

Everything posted by wkotze

  1. wkotze

    mobile Splitter

    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
  2. thank you Sherzod,is hyperserver required however, is this not handled by IIS in an more optimized manner automatically as oppose the service mode?
  3. 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
  4. 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
  5. sorry Sherzod, can you please provide some code as in simple example i've used thank you!!
  6. 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
  7. PERFECT! , thank you Sherzod
  8. any feedback on this ?
  9. you can just place it on the form an test test1.zip
  10. yes 1.90.0.1531, i suspect TUnimContainerPanel as well
  11. 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
  12. wkotze

    Servermessages

    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
  13. wkotze

    Servermessages

    Farshad, only servermodule.servermessages gets called, maninmodule. servermessages inot test1.zip
  14. wkotze

    Servermessages

    thank you, I will try it
  15. 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
  16. 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 ?
  17. 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 ?
  18. wkotze

    Servermessages

    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
  19. wkotze

    Servermessages

    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;
  20. wkotze

    Servermessages

    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 ?
  21. 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
  22. 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.
×
×
  • Create New...