Jump to content

erich.wanker

uniGUI Subscriber
  • Posts

    867
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by erich.wanker

  1. Hello Sherzod, thanx for your work 🙂 This solution works for just 1 time .. if i add lines (uniButton_add.onClick -> unimemo1.Lines.Add('****'); ) - the memo grows ... if i clear the lines (uniButton_clear.onClick -> unimemo1.Lines.Clear; ) and click uniButton_add AGAIN - the uniMemo didnt grow again Thanx Erich
  2. Please 1 question - if it´s possible: How can i start the "resize-thing" after add some lines via code? - if i use the keyboard for input - everything works perfect 🙂 if i start following code - the unimemo and the UniContainerPanel1 are not resizing: unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); unimemo1.Lines.Add('****'); ThanX for suggestions Erich
  3. Hello mhmda 🙂 Thank you .. works perfect !!
  4. Hi, how can i set the heigh of a uniContainerPanel dependet on Textlengh of a uniMemo? in UniContainerpanel2 - i have a UniImage and a TuniMemo (for Text A) if the memotext is short - everything is OK if the memotext is longer - the memo shows a scrollbar .. thats what i have since now.. is it possible to increase the heigh of the uniMemo AND of uniContainerPanel2 automaticaly ?? ThanX for help Erich
  5. i have a 1.90.0.1545 -UniGui app with Hyperserver .. And nothing happens with the UniThreadTimer .. and nothing is stored in Log-File what make i wrong?? procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); begin UniThreadTimer1.Enabled:=true; Logger.AddLog('Servermodule startet am::' + datetostr(now)); MimeTable.AddMimeType('rtf', 'application/rtf', False); end; procedure TUniServerModule.UniThreadTimer1Timer(Sender: TObject); begin UniThreadTimer1.Lock; try Logger.AddLog('lastSync:' + datetostr(now)); // do something WITHOUT using main, mainmodule or something else ThanX for help erich
  6. i use xampp 32 bit from https://www.apachefriends.org/ for me .. i copy/paste the folder of my webserver (c:\webserver\*.*) to a other customer machine, start the apache (port 1500) and mysql service and it runs ... what are your steps and products ? ThanX Eric
  7. Hy, A UniGui Desktop / Hyperserver -Question: on my webserver - i have a php file which becomes 2 infos ( 2 Strings: message and receiver) from a 3rd party thing.. now i want to send this information to the running unigui-client-app of the right user i tried out a timer based thing and it works - but i search a "no timer" thing 🙂 the timerbased solution is very easy: the php writes the 2 values in my firebird database (inclusive the value "read" = 0) the unigui-app looks every minute in the table - if where is a record: select * from messages where user = xx and read =0 ... this solution is too slow ( 1 minute is too long) .. and if i make a faster timer intervall - i have troubles with server .. a lot of users should use this at the same time PS: i can edit the php in every way .. it becomes the 2 values with $POST the php can become 100 records from the 3rd party-thing in 1 minute .. somethimes is nothing for 4 hours .. very differently .. 😉
  8. 😬😬😬 ... i am stupid !!!1 the HyperServer.dll was an old thing ... i updated it to the last version and everything works like allways: fast, stable and perfect !!
  9. Hi, i find no solutin and no reason why unigui does not add the version number to the folder .. it searches folder "uni" but should search "uni-1.90.0.1545" i installed all nessecary files - and i thing my config is allso ok ??? ThanX for help Erich
  10. Hi.. 🙂 can we start a "mobile design GUI" -Showcase- Thread?
  11. NOT A UNIGUI TOPIC 🙂 Hy .. has someone a idea what i made wrong in apache config? Multiple domains on one Win2019 Server with Apache/2.4.38 (Win32) OpenSSL/1.1.1a PHP/7.3.2 the unigui app runns allways - just the browser-message of "no valid certification" comes in some situations if i enter follwing adresses in Webbrowser: domain1 -> Not save connection www.domain1 -> Save connection (with 2 "//" at the end in the browser-adressbar) http://domain1 -> Not save connection http://www.domain1 -> Save connection (with 2 "//" at the end in the browser-adressbar) https://domain1 -> Save connection https://www.domain1 -> Save connection i want to use the domainname with www, without www, with http or https .. every combination the certification is from LetsEncrypt ( domainname created without "www") THANKX for help Erich in vhost.config i have : <VirtualHost *:80> ServerName domain1 ServerAlias http://www.domain1 DocumentRoot "C:\Server\htdocs\domain1" <Directory "C:\Server\htdocs\domain1"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> RewriteEngine on RewriteCond %{HTTP_HOST} ^domain1 RewriteRule (.*) https://domain1/$1 [R=301,L] </VirtualHost> in ssl.config i have: <VirtualHost *:443> DocumentRoot "C:/Server/htdocs/domain1" ServerName domain1 ServerAlias http://www.domain1 ErrorLog "logs/error.log" <IfModule log_config_module> CustomLog "logs/access.log" combined </IfModule> SSLEngine on SSLCertificateFile "C:/Certbot/live/domain1/cert.pem" SSLCertificateKeyFile "C:/Certbot/live/domain1/privkey.pem" <FilesMatch "\.(cgi|shtml|pl|asp|php)$"> SSLOptions +StdEnvVars </FilesMatch> <Directory "C:/Server/htdocs/domain1"> SSLOptions +StdEnvVars </Directory> BrowserMatch ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 CustomLog "logs/ssl_request.log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" </VirtualHost>
  12. hello .. short question - and i know it is not possible to answer .. but i hope someone can give a ESTIMATE :-) HOW MANY USERS CAN WORK (create, edit, update and delete of Records) simultan on such a hardware Hardware: Typ: Dedicated Server L CPU: 4 Core x 3,5 GHz (Intel Xeon E3-1230 v6) RAM: 16 GB HDD: 2 x 1000 GB Software RAID 1 Software: Windows Sever 2019 Apache Webserver UniGui exe (via Hyperserver.dll) with size of 30MB Connection to a MySQL Database (local) with 30 Tables á 20 fields / with ZeosLib in MainModule the application uses a lot of uniDGBrids / forms with uniDBEdit / ... has 20 Forms and 20 Frames ...
  13. Hello, in the next days i will become a new win10 64 bit Computer .. How can i deactivate my unigui Licence on the old pc - to install it on the new computer ThanX for information 😉 Erich
  14. Hello, i tried to get Websockets to run in Hyperserver-Mode - but didnt get it to run 😞 Has someone a idea how i can make a "chat" ? .. i don´t want to use a timer .. because the user -number can be thousands .. So i think a "push" solution is better whan thousands user make a timer based "pull" request to the server.. a small Example or demo whould be allso very nice 😉 ThanX
  15. i tried triton .. also graphite .. on my local developer-machine are the themes visible .. on the other machine - i see allways just "classic"
  16. Hi, i copied the structure of my apache-webserver (with unigui) on a other computer .. everything works - but only the theme "Triton" is not showed ??? it shows a "Classic" theme i didnt found te reason why this happens .. ????? if i start the SAME dll on my computer it is visible with "Triton-modified" - on the other computer not here a Dev-Tool image of both pc´s .. the 1. loads "theme-classic" the 2. correct the "theme-triton-all" the two win10 pc´s have the same files... the hyperserver config ..
  17. Hi Sherzod, Thanx for the prompt and good help 🙂 Erich
  18. Hi, i want to create a link or button in uniHtmlMemo - and onClick - a AjaxRequest should send to Mainform.memMonitor i tried: <b>hello</b> <a href="javascript:window.parent.ajaxRequest(MainForm.memMonitor,'Action', ['param0=24256']);">action1</a> ..but didn´t work .. 😞 it gives error in chrome dev-tools: Uncaught ReferenceError: MainForm is not defined at <anonymous>:1:27 How is the correct way to do it?
  19. Hy .. is it possible to add Buttons in UniPanel Title Bar ? i have a draggabele uniPanel with Title visible ... and in the TitleBar i want to add some Buttons ThanX for suggestion Erich
  20. i want to move a draggable uniPanel "outside" the parent (allso a uniPanel) as example - i want dragg the unipanel to left = -10 // minus 10 ! but after mouseUp - and the uniPanel is outside of the parent - it jumps back into the parent is where a way to disable this behavior? ThanX Erich unipanel.webm
  21. i create and free a lot of times ... i have anxiety that someting could go wrong Serverside with memory if 1000 users are working with this ?? now i made: objekt[object_counter] := TUniPanel.Create(self); objekt[object_counter].Parent := UniContainerPanel1; objekt_bild[object_counter]:= TUniImage.Create(objekt[object_counter]); <- the owner is now the created TUniPanel objekt_bild[object_counter].Parent :=objekt[object_counter]; if i write objekt[x].free -> everything what is created for this control should be set free - or ? ice_video_20201216-085805.webm
  22. Hi .. basic delphi question .. but i am not sure at this moment: must i "free" sub-components of a component? i create in a loop (while not table.eof do begin..) something like this: object_counter:=object_counter+1; objekt[object_counter] := TUniPanel.Create(self); objekt[object_counter].Parent := UniContainerPanel1; <- the UniContainerPanel is the basic Parent of all "objekt" created Controls objekt_bild[object_counter]:= TUniImage.Create(self); objekt_bild[object_counter].Parent :=objekt[object_counter]; <- the objekt is the parent objekt_text[object_counter]:= TUnilabel.Create(self); objekt_text[object_counter].Parent :=objekt[object_counter] <- the objekt is the parent; objekt_text_1[object_counter]:= TUnilabel.Create(self); objekt_text_1[object_counter].Parent :=objekt[object_counter]; <- the objekt is the parent objekt_text_2[object_counter]:= TUnilabel.Create(self); objekt_text_2[object_counter].Parent :=objekt[object_counter]; <- the objekt is the parent if i write objekt[x].free -> are the objekt_bild, objekt_text, objekt_text_1, objekt_text_2 destroyed automaticaly ????
  23. Hi .. is where a timeline for hyperserver and "multiple machines" ? Serverfarming would be great 🙂
  24. Hello, it is not a real UniGui-Question - but: I need a just-voice-only (no video) Chat with different "rooms" for 1000+ Users ??? the "rooms" are given - no user can create or delete rooms a user should connect to a room - leave a room ..and listen/talk in a room i searched a lot of WebRTC and other things - but didnt found a usefull cost-free solution what i can include in my UniGui-app Has someone an idea? .. a example .. a demo..? ThanX Erich
×
×
  • Create New...