Jump to content


uniGUI Subscriber
  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by GerhardV

  1. Never mind, I figured it out, one can call the function directly for a UniHTMLFrame since it isn't in a iFrame. This worked: UniHTMLFrame1.JSInterface.JSCode('nextStep();');
  2. @Sherzod, can you do the same for a UniHTMLFrame? When I do this: UniHTMLFrame1.JSInterface.JSCode(#1'.iframe.contentWindow.nextStep();'); I get the following error:
  3. It is not easy to make it work with themes that have different sizes, you are always going to have an issue with something because it is controlled by CSS and not Delphi. You can override it in Delphi but it will not play well with all the themes. That is why the themes in my theme packages are designed based on the same height and sizes so they can be easily switched with almost no shifting, hence the -x30 appended to all theme names. The x30 themes all have a 30px height for all "header" type containers like panels, window, accordion etc. and 24px height for edits, grid rows selections etc.
  4. Hi Stefano, sure see attached. UniGUIThemeViewer.zip
  5. Hi Andy - sorry not completely yet, UniGUI doesn't make provision for custom mobile themes like it does for classic themes, which means that one has to install it to the ExtJS folder and also manually type the name in the MainModule because it doesn't show up in the drop-down list. Hopefully @Farshad Mohajeri will have it working in future release. But the plan is still to release at least one mobile theme with the next theme pack.
  6. Jaromir just add this to the "uni-xtheme-uni_dusk-x30.css" file in the "FMSoft\Framework\uniGUI\unipackages-6.7.0\themes\css" folder. .x-column-header { color: #616161; } Yes I send a followup email on how to fix that for Firefox but here are the steps. Will be fixed with the next update. "There seems to be an alignment issue with the triggers on Firefox, to fix that please perform the following steps. Open each of the following files, located under (FMSoft\Framework\uniGUI\unipackages-6.7.0\themes\css), in a text editor: uni-xtheme-uni_dusk-x30 uni-xtheme-uni_emer
  7. GerhardV

    Edit Theme

    @Aaron596688 please do not spam the forum with the same question everywhere. Sherzod has already asked you what version of UniGUI are you using?
  8. Welcome. You all should have received an email by now with the update.
  9. Hi all: I finally got around to complete the update to the UniGUI Theme Pack 1 (-x30). Everyone that have purchased the theme pack already will receive an email during the course of next week with the update. Please note that all themes have been standardized, thus they have the same size and dimensions, making it easier to swap between them. They also use the same font namely Roboto. This is the "-x30 package" meaning that Window, panel and grid headers are 30px in height. Apart from the themes in the original package, a "-x30" version of the Emerald theme has been added, as well a
  10. Or you can use the TRESTClient, TRESTRequest and TRESTResponse components....depending on your Delphi version.
  11. Thank you, works as expected. I wonder if it is possible to implement that in the framework? @Farshad Mohajeri
  12. Chrome, Opera, Edge and FireFox....all same effect.
  13. @Farshad Mohajeri can this be changed/fixed?
  14. Let me know if you need more info or if I need to show you via a share screen. You have my email.
  15. Peter it is because of the default CSS values for the type of layouts for supported by FieldSets (GroupBox is also translated into a FieldSet). You can add the following CSS to the CustomCSS in the ServerModule and then play with the values until it suits your needs. The values below are the default values, if you decrease the values of the margin-bottom and padding-top you would see a significant change. .x-fieldset-header-default { padding: 2px 5px 0px 5px; line-height: 20px; } .x-autocontainer-form-item, .x-anchor-form-item, .x-vbox-form-item, .x-table-form-item { margin-bo
  16. For many years I have been using the IDE Fixpack from Andy...give it a try. IDE Fix Pack 6.4
  17. @Farshad, see the attached video demonstrating the issue when dragging a panel over a TUniDBHTMLMemo. Dragging it over the other containers like panels seems to display fine but the moment the mouse enters a TUniDBHTMLMemo then the display stops to update until the mouse exists the TUniDBHTMLMemo. Is this possible to fix? PanelDragIssue.webm PanelDragIssue.zip
  18. Hi Peter - see attached - you also have to set the AlignmentControl to uniAlignmentClient for the main form. Tabsheet: Layout = vbox LayoutAttributes: Align = center Pack = start Your margins are correct on the form. TestCase_fixed.zip And I would also suggest using a frame instead of a form as others did, unless you have a specific reason for that..
  19. You can also use vbox but then align= center and pack = start.
  20. Set the tabsheet layout to hbox, LayoutAttributrs= align to middel, pack to start and give the form a margin of 50 0 0 0.
  21. I was looking for the same thing...but I don't think there is something equivalent on the ExtJS side to easily map to...will probably need to write it from scratch. Still on my research list.
  22. It works for me: procedure TMainForm.UniComboBox1TriggerEvent(Sender: TUniCustomComboBox; AButtonId: Integer); begin if AButtonId = 1 then begin ShowMessage(Sender.Text); end; end; By the way if I copy this line from your code above and paste it I noticed that there are strange characters just after the "d" in Sender and just before the two slashes. see picture. Try and delete the code and type from scratch. You probably copied it from somewhere on the forum, I have noticed the issue with the new forum. UniForm1.UniEdit1.Text := Sender.Text; // Doesn't work
  • Create New...