Jump to content

Jean-Marc Kiener

uniGUI Subscriber
  • Posts

    216
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Jean-Marc Kiener

  1. Can't build: [dcc32 Fatal Error] uniGUI29dcl.dpk(74): F2051 Unit uniGUIEditors was compiled with a different version of ColnEdit.TCollectionProperty Any ideas what i could do to fix the problem?
  2. Hi forum users, I am searching for a HTML editor where the user can write text as any editor and additionally can use a @ char to tag a user from a list. Something like the jira editor can do (see the picture below). Knows anybody how i could implement this in UniGui? Or is there a standard unigui component who can do that already? Or has anybody already made a component with a functionallity like that? Thanks in advance for your suggestions.
  3. Maybe this is because of file access right. Windows service runs on user "local service" or so. For test it, run the service with a administrator account and try again.
  4. Cool. Very interesting. Thanks for sharing here. Is the download site also available in english? I am struggeling with... chinese?
  5. Hello unigui team, We need a solution to input and display big numbers like houndred thousands, millions and more. At moment, TuniNumberEdit does not support thousend separators. Big numbers are not readable: 10000000 (vs. 10,000,000) Is there a solution to show thousend separators in a TuniNumberEdit?
  6. You should remove or disable the extension ".dll" from mime/type list in IIS.
  7. Same here. How to sort TuniTreeNode items by text? Is this possible? I want to write a function to move a TuniTreeNode to another place in a tree. I can use TuniTreeNode.MoveTo to move a node to another node as child , but i cannot figure it out how to set the node to the right place in order of the text.
  8. Is this correct? procedure TDirectoryTree.ClearNodes; var Index: integer; begin for Index := 0 to FTreeView.Items.Count -1 do begin FreeAndNil(TNodedata( FtreeView.Items[ Index ].Data ) ); end; FTreeView.Items.Clear; end; Or would al simple: procedure TDirectoryTree.ClearNodes; begin FTreeView.Items.Clear; end; be enough?
  9. Hello, I have following small TThread class: TOnProgress = procedure( Sender: TObject; Value: integer; Msg: string ) of object; TWorker = class(TThread) private { Private-Deklarationen } FMin: integer; FMax: integer; FOnProgress: TOnProgress; FProgressMsg: string; FPosition: integer; procedure DoOnProgress( aValue: integer; aMsg: string ); protected procedure Execute; override; public constructor Create( aOnProgress: TOnProgress ); reintroduce; property OnProgress: TOnProgress read FOnProgress write FOnProgress; property ProgressMsg: string read FProgressMsg; property Position: integer read FPosition; end; When i create the TWorker Object in a unigui form with a aOnProgress procedure parameter it does not work properly ( per example FWorker1 := TWorker.Create( UpdateGUI1 ); ). The TOnProgress method "UpdateGUI1" of the unigui form is called, but mostly it does nothing. I assume that i have to find the "right" unigui form instance from where the thread was called?
  10. I found uni-xtheme.css in my 1.90.0.1534 version: /* common for uni custom themes */ /* in future it must be moved to uni CSS of each theme separately */ /* .x-form-trigger-btn { background-image: none !important; background: linear-gradient(#fff, #ddd) !important; border-radius: 1px 3px 0px 0px; border: 1px solid #bbb !important; padding-top: 1px; } */ .x-uni-checkcolumn-text { padding-left: 14px; } "in future it must be moved to uni CSS of each theme separately" So i copied it from 1534 to my 1561 installation.
  11. Hi Bahry, I installed TMS Cloud Pack and played around with it. I came to the same question like @d.bernaert : How do you handle the oauth authentication in Unigui?
  12. Hello, We have an unigui website app here where the users can store files on our servers. Now we want include something like an "export to" or "share with" functionality. The user can mark some files in our unigui app and share (copy) them to dropbox, ICloud, OneDrive or Google Drive. Because we do not want to make this ourself for each cloud provider, i am searching for a component suite who works well thogeter with unigui to implement this. Has anybody expericences with this and can recommand me some components?
  13. Do you use dB components in your project?
  14. use dmvc (https://github.com/danieleteti/delphimvcframework) instead. It is made exactly for your case.
  15. As long you can assign a TDatasource to your db components, it should work. See: http://www.unigui.com/doc/online_help/database-connections.htm Also there a many posts here who discuss the handling of database connections, where to place, connection pooling etc.
  16. You can configure IIS to use windows authentication. The Browser will then show a Login/Pwd form when the user try to get the url. Alternative is to use your own unigui login form and then check the credentials on serverside agianst your AD. https://en.delphipraxis.net/topic/2777-active-directory-authentication/ https://stackoverflow.com/questions/43896329/check-if-user-authentication-in-active-directory Google will help you.
  17. @Abaksoft Thank you for your opinion. That's really helpful for me to here from a such experienced user. Any other suggestions?
  18. I have to create an assistant/wizard who take the user step by step (ca. 5 steps) through some forms (<<Back - next>>) to make an order. What is the best approach to achieve this? Put all on one form and work with a PageControl? Does this not results in hard to maintable code? Because it tends you to have all components, form logic and other buisness code in one form unit. You must have a large amount of self discipline to write clean code. Mostly i tends to “If then else..” orgy in event methods. Work with one Mainform and frames.? That's better because you can write code for each frame. In this project the mainform is just for showing the frames. Alle frames are inherited by one frame to share some design. Work with different forms? If you have to do a hybrid app that is the way you must go. You can achieve a Model-View-Controller pattern. It is the highest degree of separating form code from a form, because you have to make always two visible forms (one with unigui desktop and one with unigui mobile). So the code for steering the forms should be separated from the visible forms because you do not want it write twice. Since we decided not to go with a hybrid app, this approach is not necessary. But it is an nice and clear approach. Another approach? I try to find out how to organize my code so i have a clear approach but not that much overhead.
  19. Some databases can inform you when per example data in a table changes. You also need dB components who can handle that. Devart sdac components web page should be a good starter.
  20. Maybe because your printer has different standard format then A4, so the page is rendered to this format. Some printer has US Letter Format by default which is slightly smaller then A4.
×
×
  • Create New...