Jump to content

chefdackel

uniGUI Subscriber
  • Posts

    183
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by chefdackel

  1. How to set visibility of the badgetext by code? Explanation: I want to show the recordcount of a db table with the badgetext. As long as the recordcount is "0" I don`t want to show the badgetext, if the recordcount is not "0" I want to show the badgetext (by code): if dbtable.recordcount =0 then [badgetext.visible=false] else [badgetext.visible=true] brfc
  2. great, for UniGUI it may look like this, here for the TabControl (thanks to Photoshop), more usable for most of us would be a PageControl? ...there is few space for the badgetext. With UniTabControl and UniPageControl, even when putting some blanks at the end of the caption for a tab, the caption is trimmed from the blanks. Maybe there will be a need to change the caption of tabs in runtime, so f.e. "Tab1" if there is no value for the badgetext (and the badgetext is not shown at all), and f.e. "Tab1..." if there is a value for the badgetext. Only an idea. brfc
  3. thank you very much. As the badgetext is created for buttons, its not so easy to adapt it to TabControls or Pagecontrols, such as here (see image down)? I could not make that work, but that would be another great field for badgetext: brfc
  4. do you send the new component set to existing license owners automatically or is there a need to send an email to get the new version? brfc
  5. and to get all functions running with one and only domain name. So you can host "mydomain.com" at provider A as a classic website (www.) and as domain for your mail, but also create a subdomain ("subdomain1.mydomain.com") and point that subdomain to provider B (111.222.333.444), where you host your VPS. Thats also important if you want to use SSL with your domain, get a wildcard certificate for your domain and run the secured UniGUI applications on "subdomain1.mydomain.com". So you even can change the VPS where you host your UniGUI applications very easily: change the DNS entries of the subdomain and you are done. brfc
  6. do you send the new component set to existing license owners automatically or is there a need to send an email to get the new version? brfc
  7. Hayri, can you please specify which files are needed for which components? So when using only one or two components in an application saving some kb for not used files (js/css). brfc
  8. XE3 Tested on two machines both with XE3, same result. brfc
  9. I have a strange problem after installing 3P components for UniGUI. They are installed, they are displayed in the Delphi component palette. So for 32 bit development everything is ok. After switching to the 64bit platform in Delphi the components are disabled (grayed) and can`t be selected to put on a form. Workaround: switching to 32bit, placing the components on the UniGUI form, switching to 64bit and then compile the project. But thats a bit annoying. It seems to be a design time issue, not a compiling issue. I have this effect with the UniSpecialComponents, but also other 3P components for UniGUI. Any 64bit developers here? Perhaps anyone knows this effect, any hints are welcome. brfc
  10. thank you for your exploring work with mobile components, we all who actually don`t work with the mobile components can only profit from the time which you spend on the project. brfc
  11. yes, just as I remarked some posts above. I think I have a solution, just to check it next week and then I post it here. brfc
  12. What exactly is the problem? brfc
  13. Fixed? Editing by FM? The interesting question is: if this is an UniGUI app, where did the malware came from? brfc
  14. yes, please do . In the meantime I will order the bundle at the end of the week. brfc
  15. congratulation for dropping the price for the bundle to 50 USD. Two questions: 1. Are the toggle buttons fixed size or can I change width and height of the toggle buttons? 2. I think the toggle buttons are not data aware, that would be a great enhancement (with boolean and integer field types, so true/false or 1/0). brfc
  16. after ordering UniGUI you get the URL for the customer portal. Just checked the customer portal for downloading .1111, everything is online. brfc
  17. I really do not use FastReport, but check if the images are integrated into the report using absolute paths, so this path may change when you deploy to the webserver? brfc
  18. What is 50 USD - the bundle or UniExMap? brfc
  19. really? I never played with Apache, but when running ISAPis please see: http://forums.unigui.com/index.php?/topic/4346-iis-much-faster-than-apache-for-isapi-dll/ brfc
  20. because uploading in UniGui is limited in some essential functions (restrict to defined filename extensions, restrict uploading of files larger than xxx xB before (!) uploading, showing progress of uploading and others) try this one: http://forums.unigui.com/index.php?/topic/4305-uniguifineuploader/ I had problems with the delphi processing code from ganzqui with larger files (AV), maybe you can manage it with some other delphi processing code. So you are right: an upload component integrated in UniGui with all the bells and whistles is a candidate to be on top of the todo-list. brfc
  21. thank you for pointing to this alternative, maybe I did it too complicated. So all logic is implemented in the MainForm of UniGUI, where you have two (2) panels as parents of the list and detail frames? As far as I see the ApplicationForms are instances of the MainModule which deals with the different sessions, and the MainForm is also an ApplicationForm. Ok, its not the same but something similar my approach, only that I use different Application forms and in the form only one (1) panel as the same parent for the list and detail frame. That takes me back to my point (10) of the initial post, that we don't have to deal with threads and sessions, and components and variables in the list/detail frames when modelling programs this way, all this session shielding stuff is managed by the UniMainModule? brfc
  22. Starting a new project with UniGui I want to be sure to understand the main aspects of GUI design with UniGUI. Please correct me if there is something wrong with these statements or if there is general better design of some facts. Thank you! ========================== 1. If possible avoid the use of free forms - because they are not framework controlled and the use of variables, (unigui-)controls etc. in these forms are not thread safe. ========================== 2. When using an unigui wizzard created application form, the framework controls the thread safe use of variables, (unigui-)controls etc which are part of this application form. So when defining a "myvar"variable in the public part of the application form class, this variable can be accessed around the session which creates the application form, and no further attention has to be turned on shielding it from other sessions. ========================= 3. Not every third party control which is used in application forms is automatically thread safe - if the control itself is not designed in this matter, there may be problems when using them in an internet application. An example may be printing tools/controls. ========================== 4. Because application forms are instances of UniMainModule, every session which creates this form has its own instance of the form, f.e.: function Form_Upload1: TForm_Upload1; begin Result := TForm_Upload1(UniMainModule.GetFormInstance(TForm_Upload1)); end; ========================== 5. Data access components are to be placed in UniMainModule or a Datamodule which is created with the UniGui wizzard, so this Datamodule has also to be an instance of UniMainModule. ========================== 6. For data access its ok to put the grid, the query and the datasource on an application form, only the database connection component itself has to placed on the UniMainModule or UniMainmodule controlled Datamodule. ========================== 7. Application forms never have to be created manually. As soon as something on the application form is accessed UniGui will create the form. So when I want to init some data access on the application form its ok to build a procedure "OpenData" in the application form (assuming query and datsource are on the application form). When calling myAppForm.OpenData f.e. from the MainForm the application form will be created from UniGui and can be shown with myAppForm.show: procedure TmyAppForm.OpenData begin Query1.open; Query2.open; Query3.open; end; The best place to clean up data access then is in the OnClose event of the application form: procedure TmyAppForm.OnClose begin Query1.close; Query2.close; Query3.close; end; ========================== 8. When closing the application form with myAppForm.close the form and the ressources are freed UniGui controlled. ========================== 9. It is ok to use some kind of "global variables" as long they are defined in the UniMainModule. So every session has its own set of these (session-)global variables. ========================== 10. I have a GUI model where in the mainform there are the buttons "customer" and "product". When I click on the "customer"-button, an application form is created. On this application form I have a panel which is the parent of different frames. When first displayed there is a "list"-frame created with a grid which lists the customers. When I want to edit a specific record, I close the "list"-frame and create a "detail"-frame where the detail data can be edited. After posting the data the "detail"-frame is closed and the "list"-frame is created again. Data access components grid, query and datasource for the grid are on the "list"-frame, data access components query and datasource for the data edit components are on the "detail"-frame. They use the same data connection component on the Datamodule. On every creation of a frame I open the queries, when closing a frame I close the queries. The question is: because of using frames (with the panel parent on an application form) and the described data access, is this model still recommended and thread safe? brfc
  23. Very nice and fun to play with, thank you. One problem: If I use the fineuploader part of the demo I get an access violation on bigger files. Small files do work. can`t say exactly the limit, but I had no luck with files (JPG, BMP, PNG) above approx. 500kB. With the attached PNG example file I get an AV. Seems to be a problem in the compare function of the delphi code, I can´t figure out what exactly is the problem with this function. brfc
  24. FM explained something about the payment system he uses for ordering UniGUI, maybe you can get some ideas here: http://forums.unigui.com/index.php?/topic/4527-technics-of-web-payement/?p=22500 brfc
×
×
  • Create New...