eduardosuruagy
-
Posts
845 -
Joined
-
Last visited
-
Days Won
10
Content Type
Profiles
Forums
Events
Posts posted by eduardosuruagy
-
-
On 1/14/2015 at 4:39 AM, Sherzod said:
Hi,
2) About dbuniedit before there were questions on the forum, you can search,
for example, here is the solution to enter only numbers:
One of the solutions:
UniDBEdit1 > ClientEvents > ExtEvents > OnKeydown
function keydown(sender, e, eOpts) { var event = e; if (event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 9 || event.keyCode == 27 || event.keyCode == 13 || (event.keyCode == 65 && event.ctrlKey === true) || (event.keyCode >= 35 && event.keyCode <= 39)) { return; } else { if (event.shiftKey || (event.keyCode < 48 || event.keyCode > 57) && (event.keyCode < 96 || event.keyCode > 105)) { event.preventDefault(); } } }
or even easier:
UniDBEdit1 > ClientEvents > UniEvents > beforeInit
function beforeInit(sender, config) { sender.maskRe = /[0123456789]/; }
Best regards.
Good morning, I use this code in an edit to accept just numbers:
UniDBEdit1> ClientEvents> UniEvents> beforeInit
function beforeInit (sender, config)
{
sender.maskRe = / [0123456789] /;
}I would like my edit to accept letters and numbers, how do I do it?
-
On 29/05/2020 at 14:10, Sherzod said:
E se você desativar esses códigos JS?
These JS codes are passed on by you guys from support, I'm not sure if these codes are causing the error. Errors are caused randomly.
-
7 minutes ago, Sherzod said:
Sim.
Grid.ClientEvents.UniEvents.Add(
'pagingBar.beforeInit=function pagingBar.beforeInit(sender, config) {config.displayInfo = true;}');
Grid.ClientEvents.UniEvents.Add(
'store.afterCreate=function store.afterCreate(sender)'#13#10'{'#13#10''+
' sender.setRemoteSort(false);'#13#10'}');
Grid.ClientEvents.ExtEvents.Add(
'afterrender=function afterrender(sender, eOpts)'#13#10'{'#13#10' var me = s' +
'ender;'#13#10' if (me.pagingBar) {'#13#10' me.pagingBar.getCompone' +
'nt("refresh").handler = function() {'#13#10' ajaxRequest(me' +
', '#39'_refresh'#39', [])'#13#10' }'#13#10' }'#13#10#9#13#10'}');
I have a unit where I pass the name of the dbgrid and add these options.
-
15 hours ago, Sherzod said:
Olá,
Qual build você está usando?
Você usa um JS personalizado?
Unigui - 1.90.0.1526
Do I use JS in dbgrids?
-
I'm having the same error and I still don't know why:
Error: TUniCustomDBGrid.MoveToRow (): Unexpected Row number: 21, 24
- 1
-
Can I use version 10.1 Berlin?
-
I have the same problem, I updated the version and I had to go back. I was unable to reproduce the error in an application, so I have not yet shown my test case.
-
-
I also have this same problem
-
10 minutes ago, Hayri ASLAN said:
Para poder mostrar a máscara no módulo de dados, é necessário chamar a sincronização. Não estamos sugerindo a sincronização de chamadas em nenhum evento do módulo de dados.
What reason do you not indicate?
-
How can I call ShowMask inside a DataModule?
-
6 hours ago, zilav said:
substitua o conteúdo em \ Framework \ uniGUI \ ext-xxx \ build \ packages
Diretório 2 com a versão lite fontawesome, substitua o css e faça o upload da versão pro font
Thanks, I preferred to go back to the version
-
Maybe some css is changing my project, could it be that?
-
3 minutes ago, Farshad Mohajeri said:
Você não pode alterar porque o Ext JS 7 usa internamente FAws5.
Opcionalmente, você pode adicionar FAws4, que pode ser usado em NativeImageLists.
Okay, but how do I change this in my project? Because my UniTreeMenu went wrong and so did my PopupMenu, and even the closing and maximizing icons on the forms.
-
4 minutes ago, Farshad Mohajeri said:
Você pode enviar um projeto de teste?
Try changing the version of fontAws5 to fontAws4 and see if you can.
-
5 minutes ago, Farshad Mohajeri said:
Em qual tema?
Sorry, triton.modified
-
I was using version 1.90.0.1526 and the icons were all normal, yesterday I upgraded to version 1.90.0.1531 and the icons are strange (see the image in my previous post). I tried to change fontAws5 to fontAws4 but Unigui doesn't allow it, I tried it via code, even though it doesn't. see that instead of having an arrow the unigui is showing a square.
-
8 minutes ago, Sherzod said:
Por favor, leia este post:
After updating to version 1531 my system had problems with some icons, I tried to change fontAws5 to fontAws4 but the server doesn't allow it, just let me select fontAws5.
How do I select fontAws4?I already did it but it doesn't work:
FontAwesomeVersion: = fontAws4;I had already seen this post, and it does not solve my problem. See the screens as they were after the update. Even the close and maximize button on the forms have been changed. I'm trying to change the font via code, but the unigui won't let me.
-
On 17/04/2020 at 17:57, Farshad Mohajeri said:
Sim, eu notei.
É porque tornamos o Font Awsome 4/5 selecionável, mas o Ext JS assume como padrão o Font Awesome 5.
Vou tentar encontrar uma solução.
Você pode resolver mudando para 5 (usando a opção servermodule) e reorganizando seus ícones com base em 5 ícones.
After updating to version 1531 my system had problems with some icons, I tried to change fontAws5 to fontAws4 but the server doesn't allow it, just let me select fontAws5
-
I have the same problem, how can I solve this?
- 1
-
1 hour ago, Abaksoft said:
Enquanto aguarda o ServerFarm , você pode usar a técnica de pool . Isso inverte drasticamente os recursos e o tempo de conexão.
Para Pooling, cada DBAware tem sua configuração. Aqui está um exemplo para IBDAC (Devart) / FireBird :
Can you do that with firedac?
-
On 27/04/2020 at 08:18, Freeman35 said:
Vou tentar enviar uma mensagem para outra. talvez possa conversar aplicativo.
Were you able to chat with another application?
-
Thank you!!
-
18 minutes ago, Tokay said:
At what you need. For example: at show time.
I tried to make your code work but I was unsuccessful. I changed TUniQuery to TFDQuery and it still didn't work.
Need Solutions
in General
Posted
It would be number and characters