Jump to content
uniGUI Discussion Forums

Kattes

uniGUI Subscriber
  • Content Count

    39
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Kattes

  1. Kattes

    Google Forms Creator

    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.
  2. Kattes

    Google Forms Creator

    Is there any chance to change the look of the TUniEdit via CSS, too?
  3. Kattes

    2 version of unigui on one computer

    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
  4. Kattes

    Google Forms Creator

    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)?
  5. Kattes

    Google Forms Creator

    Hi, It's a TUniMemo, using UniGuiVersion 1.50.0.1481
  6. Kattes

    Simple WebSocket Client Server demo

    Great! Thank you very much!
  7. 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.
  8. Kattes

    Alternative for MessageDLG

    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.
  9. Kattes

    Windows 10 ntdll.dll EExternalException

    I had exactly the same problem - and this trick solved it for me, too. Thank you so much sharing this information!
  10. Kattes

    api rest in an unigui project

    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'];
  11. Kattes

    api rest in an unigui project

    @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?
  12. 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?
  13. 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.
  14. 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?
  15. Sorry, can anybody help me here, please?
  16. Kattes

    Alternative for MessageDLG

    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
  17. Hi, I tried following without any success: procedure TuSeatingDesignerFrame.UniPanel2Click(Sender: TObject); var s : string; begin // s := ' document.getElementById("' + UniSpeedButtonUndo.JSName + '_id").disabled = true; '; s := '$(''#'+UniSpeedButtonUndo.JSId + ''').disabled=true'; MessageDlg('JS: '+s, mtInformation, [mbOk], nil); UniSession.AddJS(s); end;
  18. 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.
  19. 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
  20. 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?
  21. It is one of the latest versions. It was bought about a month ago.
  22. Kattes

    New themes...Work in Progess

    This looks really cool! Are there any updates on this project - seems to be very quiet within the last month?
  23. Kattes

    UniTreeMenu font size

    By crawling through the uniGUI sources I found another nice one for me: .x-treelist-nav .x-treelist-item-selected>.x-treelist-row:before { background-color: #c0d4ed } For own experiments i recommend a closer look into the file "theme-classic-all_1.css".
×