Kalvaitir
-
Posts
29 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Kalvaitir
-
-
I installed uniGUI in Delphi XE6, none error occurred .. but not appears none component uniGUI.I wonder what happened?
-
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.
-
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.
-
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);
-
Obrigado, eu setei a propriedade TerminateOnBrowserClose = True no UniMainModule! E deu certo!
-
I put one under the other, but in time to run the project it fails to open, hangs on 'Loading ...'
-
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!
-
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.
-
thank you very much.
As I do in the event OnAfterLoad or OnEnter (uniDBGrid) go for a column?
-
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?
-
How do I donwload this version?
Downloads only appears in 'uniGUI Version 0.95' and has no more file.
-
I think it must be a bug uniGUI in uniNumberEdit, I can type the letter 'e', causing an error.
-
I want that when the user clicks the Tab key, if it is in column 1 of DBGrid, it will go to column 5.
-
Hello Farshad! My UniGUIVersion 0.95.0.1046
I should be using different version because my not has TerminateOnBrowserClose.
-
In the dbgrid as I do that, if the user presses Tab, go to a specific column?
-
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
-
UniMainModule->TerminateOnBrowserClose
Farshad, sorry I misunderstood what you wrote.
TerminateOnBrowserClose is a property or what?
-
Thanks =)
-
DBGrid
in Portuguese
Muito obrigado, deu tudo certo! Só não fecharei o tópico pois esperarei a outra resposta. =)
Muito obrigado.
-
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?
-
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?
-
DBGrid
in Portuguese
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. =(
-
DBGrid
in Portuguese
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?
-
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?
Alguém já comprou o unigui?
in Portuguese
Posted
Alguém sabe se o valor da licença de 500 USD é para o computador desenvolvedor ou é para cada cliente?