Jump to content

Frederick

uniGUI Subscriber
  • Posts

    608
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Frederick

  1. Are there reasons why you have some many connected users but you don't need to use HyperServer?
  2. This works correctly in paged/non-paged and whether the datasource has data or not. Thank you.
  3. Yes. I copied the function header as well when carrying out a a cut and paste. However, I found out what the problem is. If the TUniDBGrid's WebOptions | Paged property is False AND the datasource is empty, the code in the afterLayout event will be ignored. How can I fix this?
  4. Here is the testcase. Interestingly, regardless of whether it is a clientdataset or SQLite as the datasource for the grid, the group title's background does not change. Note: I use PostgreSQL as the database and the group header shows correctly when there is data but not when there is none. gridhdr2.7z
  5. I have added the above condition as follows:- with UniDBGrid1 do begin if (not Assigned(DataSource)) or (DataSource.DataSet.IsEmpty) or (not DataSource.DataSet.Active) then JSInterface.JSCall('getStore().load', []); end; and condition 2 is triggered but the JS call is not doing anything.
  6. This is a follow-up to the solution above. If you see the screenshot attached, when the grid does not have data, the group title's background and font colour does not change. However, once data is present in the grid, the JS code above works. How do I fix this? Note: This is with UniGUI 1.95.0.1577.
  7. After I click the download link in UniGUI's customer portal in FireFox, the agreement PDF is not shown in the frame but is just downloaded. (see CUSTPORTAL.PNG) However, in other browsers, the PDF file is shown. (see CUSTPORTAL2.PNG) How do I get FireFox to show the PDF file in the frame? -- Frederick (UniGUI Complete - Professional Edition 1.95.0.1577)
  8. Doesn't padding create space around the control rather than between the box and the caption?
  9. It seems that  Change does not work. Using & Change or &&nbspChange works.
  10. I am using the theme "uni_win11_polar_light". The space between the box and the caption in the TUniCheckBox is too small. How do I add a space between the box and the caption? I tried "&nbspChange" for the caption but it showed "nbspChange". For some reason, this same method works for a TUniRadioButton. -- Frederick (UniGUI Complete - Professional Edition 1.95.0.1576)
  11. I am using the theme "uni_win11_polar_light". In the "classic" theme, there is an indication that the TUniDBCheckBox is currently focused. However, in the theme I use, there is no indication whatsoever. Users are not sure where the cursor has gone to. How do I show that the control has focus when it is focused; probably, some change in the border colour? -- Frederick (UniGUI Complete - Professional Edition 1.95.0.1576)
  12. In the attached screenshot, I would like to change the boxed section's background colour to black, the same colour as the rows. How do I do this? -- Frederick (UniGUI Complete - Professional Edition 1.95.0.1576)
  13. I am using the theme "uni_win11_polar_light". In the attached screenshot, the filter box's width does not quite match the width of the column and does not look nice. How do I extend the width so that the right margin matches the left margin? -- Frederick (UniGUI Complete - Professional Edition 1.95.0.1576)
  14. Before adding your code above, only FireFox showed the full width of the scrollbar. However, Edge, Chrome and Vivaldi did not. After adding your code, all 4 browsers display the scrollbar correctly. Thanks.
  15. I am using the theme "uni_win11_polar_light". As you can see from the attached image, the vertical scrollbar in the TUniDBGrid is narrow and difficult to click and drag. How do I get it to be the same width as the column it is in? -- Frederick (UniGUI Complete - Professional Edition 1.95.0.1576)
×
×
  • Create New...