geison.shida
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by geison.shida
-
-
Good Morning,
I am using Unigui version 1.90.0.1506 .I am wanting to use in UniDBGrid the KeyDown and Keypress events in ExtEvents property
When I use these events in a Form, there are in the parameters of these functions the sender, so at a given moment of the function I call the command "ajaxRequest (sender, 'grid_numero', ['key =' + vKey])" and with that in the event from form "AjaxEvent" I get it through the command:
if sametext (EventName, 'grid_numero') then
begin
commands to execute;
end
But if I try to do the same process to use UniDBGrid as the keydown or keypress, in these functions there is no sender parameter, so when in the functions (keydown or keypress) I call the command "ajaxRequest (sender, 'grid_numero', [' key = '+ vKey]) ", in UniDBGrid's" AjaxEvent "event nothing happens with the command below:
if sametext (EventName, 'grid_numero') then
begin
commands to execute;
end
I know it's no use passing sender on the ajaxrequest command, but I don't know what to pass in place of sender, I tried to pass the other parameters (e, t or Opts), but it didn't work.
I would like to be shown where I am going wrong and if possible give me an example of how to use keydown and keypress in UniDBGrid.
Best regards,
Geison C. Shida -
Olá PereiraS, você precisou fazer alguma configuração especial no servidor? pois em standalone está funcionando normal, mas quando coloco em produção recebo erro 404 File or Directory not exists
Você conseguiu resolver esse problema? Estou com o mesmo problema
-
Hi,
I have the same problem, did you solve?
keydown and keypress on UniDBGrid
in General
Posted
Sherzod,
Worked perfectly.
Best regards,
Geison C. Shida