Jump to content

Alexandre Storti

uniGUI Subscriber
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Alexandre Storti

  1. How do I make the TUniFileUploadButton round like the other buttons in the attached image?
  2. Yes, that's it. I want to know how many lines are possible on the screen to make SQL fetch the same amount per page.
  3. I'm manually paginating the dbgrid, I need to know how many records fit on the screen to adjust the number of records to search in the database
  4. I'm manually paginating the dbgrid, I need to know how many records fit on the screen to adjust the number of records to search in the database.
  5. How can I get the height of the grid area and the height of each line? The objective is to calculate how many records can be presented per screen.
  6. Searching the forum I found some examples to use in RadioGroup, what I couldn't do is change the color of the radiobutton when it is selected (see image). customcss: .meuRadioGroup { background: rgb(36, 44, 55); border: none; padding: 10px; } .meuRadioGroup input[type="radio"]:checked + label::before { background-color: coral; } function beforeInit(sender, config) { config.fieldDefaults = { style: 'padding: 5px; height: 50px;' } }
  7. Thank you very much. Enjoying: where can I find documentation on all the css properties available for dbGrids?
  8. I used the css below as a test, is there any css parameter for this? .gridteste .x-grid-column { border-style: solid; border-width: 1px 1px 1; height: 40px; line-height: 30px; padding: 0 8px; vertical-align: middle; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 12pt; font-weight: bold; text-align: left; background-color: #CD5C5C; color: white; } .gridteste .x-grid-cell { height: 39px; line-height: 40px !important; font-family: 'Arial', Arial, Helvetica, sans-serif; font-size: 14pt; color: black; border-collapse: collapse; border-style: solid; border-width: 1px 1px 1; } .gridteste .x-grid-row {background-color: #CD5C5C;} .gridteste .x-grid-row.x-grid-item-odd {background-color:coral;} .gridteste .x-grid-row.x-item-selected{background-color:chartreuse}
  9. Okay, I currently use hyper_server on IIS. If you start using it in Nginx, will everything be the same? Can I continue using it in the same way or will it necessarily have to be a standalone application?
  10. Can I use NGINX instead of IIS on a Windows Server?
  11. Good afternoon I created a Web Browser in FMX exclusively to navigate the application made in Unigui. It turns out that now in the development phase I'm in, I went to add access to the camera and the following happens: On desktop: works normally. On IOS: works normally. On Android: gives this error: Cannot read properties of undefined (reading 'getUserMedia') If I browse directly in the Android browser: it works normally. So the conclusion is that the problem is in the browser I created, have you ever seen someone try this in the same way as me and have success? Alexandre Storti
  12. Would it be this way? procedure TMainForm.btnPesquisarClick(Sender: TObject); var Vitrine : TfrmVitrineFORM; begin Vitrine :=TfrmVitrineFORM( FindClass('TfrmVitrineFORM') ) .Create(UniApplication); Vitrine.qrVeiculosAfterOpen(nil); end;
  13. I have a form called FrmVitrineForm: function frmVitrineFORM: TfrmVitrineFORM; begin Result := TfrmVitrineFORM(mm.GetFormInstance(TfrmVitrineFORM)); end; I try to call it to refresh a query through the function above, but the Form enters the OnCreate again, that is, it is being recreated, how can I access it without recreating it? with frmVitrineFORM do begin frmVitrineFORM.qrVehiclesAfterOpen(nil); end;
  14. Searching the forum I had found this code earlier, but nothing changed in the result. Please see in the images if I added correctly as it should be.
  15. Is it possible for the text to be shown in the same way as the list contained in the combo?
  16. I had to send everything because the images come from a firebird 4.0 database. CarSales_Unigui.rar
  17. Eu tentei isso ontem, mas no gettext: eu só posso passar texto, correto? Como uma imagem iria para lá?
  18. I tried in several ways if success but the event is not fired. What could it be ? When the record does not contain an image, I want a default image to be shown, I'm trying to do this through the event. Detail: I'm using 'function beforeInit(sender, config)' ) to format the list.
  19. Doing some tests, I tried to change the color of the buttons on the mobile, I can only change the colors when the touchtheme is the material, is that right?
  20. I abandoned this idea because visually it would not look good. Using the same example: If I put in a Frame border padding = 10 Within that frame a PageControl align=allclient Should a space appear on the edges, or is that not how it works? Because in my test, the pagecontrol sticks to the entire frame area;
  21. Is there any way to remove these lines around the PageControl ?
×
×
  • Create New...