evertonlb Posted June 1, 2018 Report Share Posted June 1, 2018 Amigos... tenho no meu sistema o ALT+F1 que chama um xbrowse com a listagem dos clientes.. e os devidos campos para pesquisa e tal.. eu montei esse xbrowse numa Dialog, para chamar essa Dialog com o ALT+F1, eu coloquei a opção no menu e usei o ACELETATOR MENUITEM "&1 Pesquisa de Clientes" FileName "Imagens\16\Acesso1.BMP" ACTION PesqCliente();//if( Executa( _cCodigOP, "PESQCLIENTE" ), PesqCliente(), .f. ); MESSAGE "01"; ACCELERATOR ACC_ALT, VK_F1 O que acontece é que só abre a Dialog quando estou na tela principal do sistema.. Como faço para que esta Dialog abra sobre a tela (Window) de vendas ou recebimentos? Quote Link to comment Share on other sites More sharing options...
kapiaba Posted June 1, 2018 Report Share Posted June 1, 2018 Use somente tecla de função sem combinação: SETKEY( VK_F4, { | nKey | FUNCAO() } ) DEFINE WINDOW oWnd FROM 1, 5 TO 20, 70 TITLE "Testing Menus" ; MENU BuildMenu() // saida SETKEY( VK_F4, { | nKey | NIL } ) Quote Link to comment Share on other sites More sharing options...
evertonlb Posted June 1, 2018 Author Report Share Posted June 1, 2018 Coloco isso no form principal? Quote Link to comment Share on other sites More sharing options...
kapiaba Posted June 1, 2018 Report Share Posted June 1, 2018 Em cima do: DEFINE WINDOW Quote Link to comment Share on other sites More sharing options...
evertonlb Posted June 1, 2018 Author Report Share Posted June 1, 2018 LEgal cara.. deu certinho... Obrigado Jhonny! kapiaba 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.