Jump to content

Alessandro

uniGUI Subscriber
  • Posts

    104
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Alessandro

  1. Good Morning. Do you know how to solve a problem with TUniDateTimePicker? Come on: The user does not want to select the date through the dropdown of the component. It wants to enter the date, without the bars (the component allows). However, when leaving the field, the date is converted to "mm / dd / yyyy" and I want to keep "dd / MM / yyyy" Can you help me? See the link below, which occurs: When typing 04092017 in the field, it should be 04/09/2017 but is converted to 04/09/2017 https://youtu.be/3NGID9dfWVM
  2. Marlon, bom dia Sabe como resolver um problema com o TUniDateTimePicker? Vamos lá: O usuário não quer selecionar a data através do dropdown do componente. Ele quer digitar a data, sem as barras (o componente permite). Porém, ao sair do campo, a data é convertida em "mm/dd/yyyy" e quero manter o padrão "dd/MM/yyyy" Pode me ajudar?
  3. Hi, Change the border color of the selected component. It's possible? See attached image. Thanks
  4. Oi Marlon, A variável AbreFechaLoja(0) está desativada. Não funciona (já foi removida). Quanto aos PDFs, quando gerados, ambos saem iguais.
  5. Good Morning! I have a very strange problem! I have 1 application (.exe) running on the server. I have 2 database (independent, but equal) using the same application. I use 2 different browsers with different IP to access the server application. As the initial login, I direct the user to use X or Y database. Records and consultations work perfect. So far so good. Problem: When I generate a report using an database X, if I generate the same report using the database Y in another different browser and IP, the report X the data showing in the report Y! To generate the report, I use a procedure in Firebird (with parameters), a data module with DataSet / DataSource and FastReport. Can anyone help me clarify what's going on? Thank you.
  6. I may have done something wrong? The command does not work. I put the command on a button, but nothing happened.
  7. Hi... the command : UniSession.AddJs(UniURLFrame1.jsname+'.iframeEl.dom.contentWindow.print();'); works in browsers: IE, Mozilla, Opera, Yahoo, Safari, Chrome, but in new Microsoft EDGE Does not work. Can someone help me?
  8. Hi my friends. I would like to know how to create an input mask for unimEdit (mobile). Example: "999.999.999-99" Just like it's done in uniEdit. Example for uniEdit: http://forums.unigui.com/index.php?/topic/1741-formatted-input-for-uniedit/?p=7294 Thank you.
  9. Hello! I would like to know how to use UnimSegmentedButton. I have 2 buttons within the UnimSegmentedButton, clicking on a run a procedure. Grateful, thank you. --------------------------------------------------------- Olá! Gostaria de saber como usar o XXXX. Tenho 2 botões dentro do XXXX, ao clicar em algum executar um procedimento. Grato, obrigado.
  10. Hello! You could call the procedure? I did the same thing, but mine did not work.
  11. Hi I tried to use the code, but does not work. Is there anything else to do? att,
  12. Como mudar a cor do botão em tempo de execução? Por exemplo, tenho duas CSS (vermelho e azul), dependendo do resultado de um procedimento eu tenho que mudar a cor para vermelho, pra chamar a atenção. Como fazer isso? se eu coloco o comando no onShow, funciona: UniBitBtn24.ClientEvents.ExtEvents.values['added'] := 'function added(sender, container, pos, eOpts) {sender.addCls("botaoVermelho");}'; Mas... em tempo de execução, não. Usei Repaint, Refresh, Update no botão e nada! ------------------------------------ How to change the button's color at runtime? For example, I have two CSS (red and blue), depending on the outcome of a procedure I have to change the color to red, to draw attention. How to do this? If I post in onShow, ok: UniBitBtn24.ClientEvents.ExtEvents.values['added'] := 'function added(sender, container, pos, eOpts) {sender.addCls("botaoVermelho");}'; But, in Runtime, not! I test whith Repaint, refresh, update button, nothing!!! Obrigado.
  13. You can do so ... showMessage('<big><big>Hello, World!</big></big>'); or showMessage('<big><big><span style="color: rgb(51, 51, 255);">Hello</span>,<span style="color: rgb(204, 0, 0);">World</span>!</big></big>');
  14. Hello! I'm working with the tools of http://www.telerik.com/(Kendo UI) where the graphics are generated within the uniHTMLFrame. Topic Forum I would like to know a procedure to save the graph created in the frame as a PNG image. Thank you Wait. olá! Eu estou trabalhando com as ferramentas da http://www.telerik.com/(Kendo UI) onde os gráficos são gerados dentro do uniHTMLFrame. Eu gostaria de saber um procedimento para salvar o gráfico criado no frame como imagem PNG. Obrigado Aguardo.
  15. Good Morning! I have a problem and I'm unable to solve. C'mon: When I work with normal uniforms, it is very easy to change the caption of a label of a form from another. Example: TuniForm2.btOkClick procedure (Sender: TObject); begin uniForm1.uniLabel1.caption: = uniForm2.uniLabel2.Caption; end; What I'm unaable to do: TuniForm2.btOkClick procedure (Sender: TObject); begin uniFrame1.uniLabe1.caption: = uniForm2.uniLabel2.Caption; end; This code does not error. (In debug) The text is sent to the label, but for some reason does not reach the destination: TuniForm2.btOkClick procedure (Sender: TObject); begin FCurrentFrame := TUniFrameClass(FindClass('TuniFrame1')).Create(self); TuniFrame1(FCurrentFrame).uniLabel1.caption := 'hello world'); TuniFrame1(FCurrentFrame).uniLabel2.caption := 'by'; FCurrentFrame.Destroy; end; I tried to follow some examples of demos, but unfortunately could not. Can anyone help me do this? Grateful. (Translated by Google) ***************************************************************** Bom dia! Estou com um problema e eu não estou conseguindo resolver. Vamos lá: Quando eu trabalho com uniForms normais, é muito fácil alterar o caption de um label de um form através de outro. Exemplo: TuniForm2.btOkClick procedure (Sender: TObject); begin uniForm1.uniLabel1.caption: = uniForm2.uniLabel2.Caption; end; O que eu não estou conseguindo fazer: TuniForm2.btOkClick procedure (Sender: TObject); begin uniFrame1.uniLabe1.caption: = uniForm2.uniLabel2.Caption; end; Esse código, não dá erro. (No debug) O texto é enviado ao Label, mas por algum motivo não chega ao destino: TuniForm2.btOkClick procedure (Sender: TObject); begin FCurrentFrame := TUniFrameClass(FindClass('TuniFrame1')).Create(self); TuniFrame1(FCurrentFrame).uniLabel1.caption := 'hello world'); TuniFrame1(FCurrentFrame).uniLabel2.caption := 'by'; FCurrentFrame.Destroy; end; Tentei seguir uns exemplos dos demos, mas infelizmente não consegui. Alguém pode me ajudar a fazer isso? Grato.
  16. Hello! I'm using windows 7 32 bit... Delphi XE5... Trying to install uniGUI "unigui_beta_0.95.0.1046_setup"... When opening the "uniGUI2015Group" project to compile and then install occurs the error below: [dcc32 Fatal Error] uniTools19.dpk(43): F2048 Bad unit format: 'C:\Program Files\FMSoft\Framework\uniTools\Dcu64\Delphi2015\UniStrUtils.dcu' - Expected version: 26.0, Windows Unicode(x86) Found version: 26.0, Windows Unicode(x64) please, what is happening? everything was working perfectly well. but had to format the machine and reinstall, an error occurs. Tnks!
  17. I have a procedure, and I create a run-time report using HTML and tags. When finish, I send into a uniHTMLFrame. I want print the result of this frame, just that. I know, can save HTML, but I want to print, and mainly export to PDF this content.
  18. Good Morning! I wonder how do (send to) print the contents of a UniHTMLFrame. I can export the contents of UniHTMLFrame to a PDF? How? Can someone help me? Grateful!
  19. Hi, How does enter the field has DateTimePicker/ DBDateTimePicker, the component automatically drop down is open, without having to click the arrow? Also, when you click any button, the component TUniDateTimePicker or TUniDBDateTimePicker open dorpdown? Thanks
×
×
  • Create New...