Jump to content

Kalvaitir

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by Kalvaitir

  1. Alguém sabe se o valor da licença de 500 USD é para o computador desenvolvedor ou é para cada cliente?
  2. I installed uniGUI in Delphi XE6, none error occurred .. but not appears none component uniGUI. I wonder what happened?
  3. What I want is just set the focus to the fifth column of the next line when I press the Tab key. But doing this code, spoils the rest.
  4. Added the following functions: Keydown function keydown(e) { if (e.keyCode == 9) { this.panel.getSelectionModel().setCurrentPosition({row: this.panel.uniRow+1, column: 4}) } } Reconfigure function reconfigure(sender, store, columns, oldStore, the, eOpts) { for (var i = 0; i < columns.length; i++) { columns.editor = {selectOnFocus: true}; }; columns[1].editor = {selectOnFocus: true, listeners: { specialkey: function(field, e) { if (e.getKey() == e.TAB) { sender.getSelectionModel().setCurrentPosition({row: sender.getSelectionModel().getCurrentPosition().row, column: 5}); } } } }; } It did not work. When the cell is being edited, it goes to the first column and not the fifth column.
  5. Primeiro vc faz uma procedure com o evento setfocus! procedure TMainForm.Resposta1(Sender: TComponent; Res: Integer); begin edit1.SetFocus; end; E depois usa a procedure no showmessage no segundo parâmetro! showmessage('Mensagem de texto!',Resposta1);
  6. Obrigado, eu setei a propriedade TerminateOnBrowserClose = True no UniMainModule! E deu certo!
  7. I put one under the other, but in time to run the project it fails to open, hangs on 'Loading ...'
  8. The reconfigure code did not work. The cursor moves to column 4, then to column 1, then column 4, then column 3. How could I do to combine these two functions: function reconfigure(sender, store, columns, oldStore, the, eOpts) { columns[1].editor = {listeners: { specialkey: function(field, e) { if (e.getKey() == e.TAB) { sender.getSelectionModel().setCurrentPosition({row: sender.getSelectionModel().getCurrentPosition().row, column: 5}); } } } }; } function reconfigure(sender, store, columns, oldStore, the, eOpts) { columns[1].editor = {selectOnFocus: true}; // for all columns for (var i = 0; i < columns.length; i++) { columns.editor = {selectOnFocus: true}; } } Thank you!
  9. The code you posted above has helped me a lot and I need to end, when the form is opened, the focus uniDBGrid already appears in column 5.
  10. thank you very much. As I do in the event OnAfterLoad or OnEnter (uniDBGrid) go for a column?
  11. Kalvaitir

    showmessage

    In uniGUI 0.95, I used the code: showmessage('Digite um CNPJ válido!',CallBack1); After installing uniGUI 0.96, an error occurred in this code: There is no overloaded of 'ShowMessage' that can be called with these arguments How could I solve?
  12. How do I donwload this version? Downloads only appears in 'uniGUI Version 0.95' and has no more file.
  13. I think it must be a bug uniGUI in uniNumberEdit, I can type the letter 'e', causing an error.
  14. I want that when the user clicks the Tab key, if it is in column 1 of DBGrid, it will go to column 5.
  15. Hello Farshad! My UniGUIVersion 0.95.0.1046 I should be using different version because my not has TerminateOnBrowserClose.
  16. In the dbgrid as I do that, if the user presses Tab, go to a specific column?
  17. Farshad Mohajeri sorry, but I still can not understand. Do you have any examples or can give more detail? I tried to make: procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TStrings); begin if SameText(EventName,'SessionClosed') then UniSession.Terminate(); end; OR procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TStrings); begin if SameText(EventName,'SessionClosed') Then begin UniSession.Terminate(); UniSession.UniApplication.Terminate(); end; end; AND MainForm > ClientEvents > ExtEvents, I created a function that is attached: The above code does not work in Google Chrome, Internet Explorer only worked if I display the alert, if I comment the alert does not work. I'm checking sessions on localhost: 8077/server
  18. Farshad, sorry I misunderstood what you wrote. TerminateOnBrowserClose is a property or what?
  19. Kalvaitir

    DBGrid

    Muito obrigado, deu tudo certo! Só não fecharei o tópico pois esperarei a outra resposta. =) Muito obrigado.
  20. Hello!! I observed that when I click on cell of the uniDBGrid to edit, the contente is not selected, the cursor is at the end of the text. How do I come up with the selected text?
  21. I observed that if I click on the close of the browser, the uniGUI does not end the session. The session ends when it exceeds the timeout it. Has anyone had this experience?
  22. Kalvaitir

    DBGrid

    Em relação ao dbgrid, gostaria de saber como selecionar uma determinada coluna, o que eu quero fazer é com que se o usuário teclar tab, ele vai pra uma determinada coluna do dbgrid. Mas tô vendo que tem pouco material sobre isso. =(
  23. Kalvaitir

    DBGrid

    Olá, pessoal! Estou usando o dbgrid e quando clico na célula para editar, observei que ele não vem selecionado o conteúdo para editar, o cursor vem no final do texto, será que teria como vim com o texto selecionado?
  24. Boa tarde! Observei que se eu clico no fechar do navegador, o uniGui não encerra a sessão. A sessão é encerra quando ultrapassa o timeout dela. Alguém já passou por isso?
×
×
  • Create New...