Jump to content

Vision

uniGUI Subscriber
  • Posts

    72
  • Joined

  • Last visited

Everything posted by Vision

  1. I tried to read the different posts but I didn't find much
  2. Hello, I would like to be able to display a media player that can run the rtsp stream. What is the right thing to do? Thank you in advance
  3. Hello, I would like to insert several instances of vlc media player into some components like TUniPanel or TUniFrame. The call libvlc_media_player_set_hwnd (vlcMediaPlayer, Pointer (PnlBottomLeft.Handle)) obviously doesn't work because I am not returning a handle. Then VLC opens a new window on its own. Is there a way to do this? Thank you in advance
  4. Hi Mr Farshad In mainform I create an instance of this thread when a user presses a button. The operation could be very long so I want to be able to invoke tthread.terminate when the session is abandoned by the user. This object is a private variable of the main form. Tnks for help
  5. Hi, small question unigui vers 1.9.0.1526 in general if I close a browser tab (whith an unigui session inside) i receive UniFormAjaxEvent='bclose' and then TUniBaseJSForm.DoDestroy-> UniFormDestroy BUT if i execute a thread i dont receive that events. WHY? the session stay alive.. My problem is that i need to terminate a worker thread when the container session is closed.I just can see a UniFormDestroy when i terminate my application.. hint???? tnks
  6. Hi Mr Farshad Mohajeri thanks for the tip: you got it right! It is the fault of the kaspersky antivirus. As soon as I disable the antivirus it doesn't happen anymore. Repeatable condition on 30 on / off tests. Thank you very much for the suggestion: you have given me a great help. Best regards
  7. today I restarted the pc and everything worked at the beginning. After a few attemps he started again.. look at attached immages: it happens. Is there some shared resource maybe? tip?
  8. 10 k row no problem. (1 MB file) 300 k row happen every time and file have diffent amount of byte in server on client side. (34 MB file) full example attached sendFile.7z
  9. Hi everyone I have to send to client a CSV, more or less 100 MB, but I see something strange: the received file is shorter respect the file I send, a lot of row are not present. it's like if a 'flush' is missing. Do unisession.sendfile have some limitation? Tip? tnks (unigui 1.90.0.1514, chrome >=73)
  10. Hi tnks for reply, i just need 2 things: 1) How to integrate and where? I mean, is something like addJs and i have to put in main.create? 2) I need to set specific value in cookies, so, can i have an example? Tnks again
  11. Hi ,I'm using unigui UniGui v1.90.0.1514 . I need to set cookie when user see unimainmodule-->BackButtonAction:=bbaWarnUser; A callback to a procedure should be perferct.. It is possible? IN PARTICULAR: i need to set cookie when RELOAD is pressed. Tnks
  12. The constant are used because this is a demo. Is only an offset. I did not understand your answer: I'm just asking for a way to resize an image client side. If is possible to move I suppose that is also possible to resize. I'm doing it wrong?
  13. Hi example attached. I need to resize an image from UniButton2-->ClientEvents-->ExtEvents-->Ext.Button.Button-->click Tnks
  14. Hi I need to put procedure TMainForm.UniImage1Resize(Sender: TUniControl; OldWidth, OldHeight: Integer); begin UniImage2.Height := Trunc(UniImage1.Height * 146 / 242); UniImage2.Width := Trunc(UniImage1.Width * 146 / 768); end; into on click client side function click(sender, e, eOpts) { var xy=MainForm.UniImage1.getPosition(true); var x=xy[0]; var y=xy[1]; var w=MainForm.UniImage1.getWidth(); var h=MainForm.UniImage1.getHeight(); MainForm.UniImage2.setPosition(x+(w*417/768), y+(h*23/242)); } Tnks for help Please olso attach documentation eventiClient.7z
  15. Hi I need to resize client side an image as function to another. I'm already able to move and get information as posizion and size but not able to resize clientside. example onclick: function click(sender, e, eOpts) { var xy=MainForm.UniImage1.getPosition(true); var x=xy[0]; var y=xy[1]; var w=MainForm.UniImage1.getWidth(); var h=MainForm.UniImage1.getHeight(); MainForm.UniImage2.setPosition(x+(w*417/768), y+(h*23/242)); MainForm.UniImage2.setSize(500,500); --> not work/ not able to find documentation } tnks all
  16. pretty interesting: is safe method? not able to remote connection at the moment :-( which kind of log string could be interesting? just for example.. Not, sure: when closing form, or maybe during some cache update trick for tunidbgrid lenguage translation of database string.. yes it does.
  17. Hi I can't update because I have many systems already in place all over the world.
  18. Hi everyone Some times I get this error I do not know so much about AJAX, so can anyone help me to understand what is the problem? what does it mean the text in the memo? is the code in the JS side visualized for debug purpouse? Is possible to hide this information in release but stil receive in debug version? tnks all Unigui version 1.70.0.1486 AJAX ERROR.txt
  19. I need to enlarge tunidbgrid. I'm not able to recustomize code posted in previous message. If possible i would like a link to sencha documentation for understand how to get this kind of information by my self, please. Test case attached Tnks UniDbGridLayout.7z
  20. Hi I'm using versione 1.70.0.1486. I cant update the versione because i already have sereral system working to final customer.
×
×
  • Create New...