Jump to content

Kattes

uniGUI Subscriber
  • Posts

    144
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Kattes

  1. Hi, as you can see from the title I am really confused about SSL setup. Finally It took me 2 days to get my Windows 2016 server up and running. My biggest fault was to make a Plesk installation on the server after everything was almost 100% setup. DON'T DO THAT! - Plesk will ruin everything and gives you at least for an UniGui server almost no advantages - but that's a different story For SSL I used a certificate from Let's Encrypt. After this was installed I tested my uploaded UniGui-files and was very astonished that they worked WITHOUT doing any further adjustments in the applications itself. This means I haven't setup any PEM files in the server module, but it still works. When opening my UniGui App from any browser it shows me that the connection is SSL encrypted. So my question is: Why do I need to include any PEM files when it seems to work also without doing so?
  2. Sure, the underline of the uniEdit has to be always visible, because otherwise you have no indication that there is any input field (if everything is white on white)
  3. Hi Sherzod, You are already on a good way to solve this puzzle and I really appretierte your effort, but when using the Default theme nothing has changed. I also tried with Crisp theme and here the complete box is disappearing, i.e I am getting only a white input field. The wanted underline only appears, when the edit field gets the focus (please see figures below). Best regards, Carsten
  4. Do you have any news here?
  5. Is there any chance to change the look of the TUniEdit via CSS, too?
  6. Probably it is a good idea to use a Virtual PC to achieve what you wanted to get. Therefor I would recommend VM-Ware (https://www.vmware.com/products.html) BR, Kattes
  7. Perfect Sherzod! This solves the first part of my problems ! Do you think that there is also a way to change TUniEdit so that the surrounding frame gets replaced by a single underline (as shown in the screen shot above)?
  8. Hi, It's a TUniMemo, using UniGuiVersion 1.50.0.1481
  9. Hi, I am currently writing a UniGuiDB component that allows me to get all relevant information for creating forms from a database table. The result should come as close as possible to a Google Form. In this context I have two questions: With a memo field, the line spacing seems to be too small with larger fonts, or does not adapt to the font size. Is there a CSS trick to correct this? Google Form Edit fields only use the lower border lines of the input box Is there an elegant CSS solution for this? At the moment I'm helping myself with drawing an additional line in the Delphi code - so not so nice. Thank you for your support and with best greetings from Germany.
  10. Yes, sure - that's it's main purpose! You can also feel free to make any adaptions / modifications to your need. This is just a little gift from me to the UniGui community without any limitations from my side.
  11. I had exactly the same problem - and this trick solved it for me, too. Thank you so much sharing this information!
  12. Ok, my fault - I used a forbidden Keyword in my header (Authorization). In case of using anything else it works fine. Header values can be accessed easily. For example if I define a key "test" with a value "88" the following call will set "s" to "88". s := ARequestInfo.RawHeaders.Values['test'];
  13. @GerhardV: I just tried what you suggested and it works fine as long as I do not add any header information. If I enter for example the following cURL command: curl "http://localhost:8077/report/sleep" -H "Authorization: ffff" I do not even enter the event handler and get the response curl: (52) Empty reply from server Do you have any idea, how to pass header information to the UniGUIServerModule and extract them?
  14. I am currently running a bit out of time with my project and unfortunately all DB examples, which get shipped with uniGui do not work under XE5 and crash my IDE. At the moment I just changed the columns order as an interim solution. But please keep an eye on this bug for any of the next planned updates.
  15. The SQL statement I used in the first case was quite simple: select * from schools I made a lot of further tests and finally found out that the reason for the behavior must come from uniDBGrid. For whatever reason the Grid truncates text, which is in the second column of the grid (and longer than 32 characters). After changing the order of columns in the grid by manipulating the sql statement to: select Ort, Email, Name, Id_School from schools the email column now was affected by this effect. School names, which were truncated before are complete now - only by shifting them to a different column. I am pretty sure that this is not somehow related to SQL DB and that this effect can be reproduced with any kind of DB. Are there some settings in uniDBGrid to change / stop this behavior?
  16. Hi, When I use a UniDBGrid and feed it with data from an external MySQL server, cell text gets limited i.e. truncated after 30 characters (as shown in the figure below). Is there any property which controls this behavior?
  17. Ok, please find now attached my message dialog solution. For better understanding, I put it into a simple test environment. Finally it can be used very similar to the origin MessageDLG procedure. It supports already various settings, but still can be easily tailored to whatever needs you have. Any feedback & comments are welcome P.S. I just uploaded a new version with new options to change fonts, colors, icons (awesome font) and button content very easily from your application. Its a complete replacement of the existing messagedlg procedure. Just import the unit "uDialog.pas" and replace existing messagedlg calls with messagedlgA. P.P.S. Happy New Year to everybody of this great community uniGUI - MsgDLGDEmo.zip
  18. I was looking for an alternative for the default message dialog, which gets shipped with uniGUI. Goal was to have something which fits 100% to the design of my pages. I am sure that somebody will now say "Use CSS styles" to achieve what you are looking for. But to be honest digging for the right CSS settings finally would take even more time than my little development and finally is not as flexible. Below is a screen shot of the message dialog I tailored for my needs. As you can see it also is already adjusted to my native language (German). If you are interesting to get the code for an alternative message dialog, just let me know.
  19. Ups, after playing a bit with my sample code, I was able to solve the problem by myself. For the sample code the solution is: MainForm.UniSpeedButtonRedo.setDisable(true); ..and for my special case using uniFrame it is: uSeatingDesignerFrame.UniSpeedButtonRedo.setDisable(true); with uSeatingDesignerFrame as Name of the used TUniFrame.
  20. Firstly, thank you for your compliment - I am just trying my best to satisfy my customer (who is my own son ;)) Secondly, attached you will find the requested testcase for my current problem BTW thank you very much for your support ! JS_Sample.zip
  21. Thank you, this is working fine: procedure TuSeatingDesignerFrame.UniPanel2Click(Sender: TObject); var s : string; begin s := UniSpeedButtonUndo.JSName + '.setDisabled(true)'; UniSession.AddJS(s); end; ..but finally does not really help me to solve my current problem, which I want to explain you a bit more in detail. Picture below describes my current configuration. I am using a MainForm, which uses the great UniTreeMenu component. Each tree-item click will dynamically create a TUniFrame, which finally allows my to struct my project, because each TUniFrame uses its own Delphi unit. Current module I am working on is a seating manager, which is also running in his own frame. The graphically components I am using is FabricJS - a very cool JS graphic engine. All needed Fabric routines including my own JS interfaces are running in the UniHTMLFrame. As long as I simply want to control from the tool bar (e.g. deleting a selected object, by clicking the litter bin symbol) routines defined in the HTMLframe this is easy and possible. But now I want to control the buttons from the tool bar from the HTMLframe side. In my case I want to enable and disable the Undo and Redo buttons depending of the status of a JS variable I created in the HTMLframe. Is there any way to do that?
  22. It is one of the latest versions. It was bought about a month ago.
×
×
  • Create New...