MAMP2 Posted March 12, 2021 Report Share Posted March 12, 2021 (edited) bom dia pessoal como faço pra a mensagem do MSGYESNO os botoes venham em ingles (Yes;No)? quero ter as duas opcoes poder ser em portugues ou em ingles pois nos parametros do sistema eu vou te a opcao de linguagem. se ele escolher portugues (SIM/NAO) se ele escolher ingles (Yes/No) Edited March 12, 2021 by MAMP2 faltou informacao Quote Link to comment Share on other sites More sharing options...
kapiaba Posted March 12, 2021 Report Share Posted March 12, 2021 Tente: STATIC nLanguage // 1 English, 2 Spanish, 3 French, 4 Portugese, 5 German, 6 Italian DEFAULT nLanguage := FWSetLanguage() nLanguage := 4 FWSetLanguage( nLanguage ) Quote Link to comment Share on other sites More sharing options...
MAMP2 Posted March 12, 2021 Author Report Share Posted March 12, 2021 (edited) oi kapiaba, nao esta aceitando o comando na compilacao, da erro, tem que acrescentar alguma LIB? Error: Unresolved external '_HB_FUN_FWSETLANGUAGE' referenced from C:\SCH2\SCH999.OBJ da este erro Edited March 12, 2021 by MAMP2 faltou dados Quote Link to comment Share on other sites More sharing options...
kapiaba Posted March 12, 2021 Report Share Posted March 12, 2021 Olá, creio que a sua versão esteja obsoleta. Se sim, atualize com o Gilmer. gilmer@fivewin.com.br abs. Quote Link to comment Share on other sites More sharing options...
MAMP2 Posted March 12, 2021 Author Report Share Posted March 12, 2021 ok, obrigado Quote Link to comment Share on other sites More sharing options...
Jmsilva Posted March 12, 2021 Report Share Posted March 12, 2021 Verifica se vc tem arquivo strings.prg da FW, em ...\source\function\ se existir adicione o prg no seu projeto e testa a dica do @kapiaba Quote Link to comment Share on other sites More sharing options...
MAMP2 Posted March 12, 2021 Author Report Share Posted March 12, 2021 bom dia JMSILVA, nao tenho voce tem ai pra me mandar? Quote Link to comment Share on other sites More sharing options...
kapiaba Posted March 12, 2021 Report Share Posted March 12, 2021 Não adianta. Use: MsgInfo( Alert( "a test", { "&Yes", "&No" }, "Select an option" ) == 1 ) Enquanto não atualiza sua versão. Quote Link to comment Share on other sites More sharing options...
MAMP2 Posted March 12, 2021 Author Report Share Posted March 12, 2021 ê onde eu pego a resposta se sim ou nao? Quote Link to comment Share on other sites More sharing options...
kapiaba Posted March 12, 2021 Report Share Posted March 12, 2021 nOption := Alert( "Choose Connection Type", { "FWHMARIADB", "DOLPHIN", "ADO" } ) if nOption < 1 return nil endif Abs Quote Link to comment Share on other sites More sharing options...
Jmsilva Posted March 12, 2021 Report Share Posted March 12, 2021 6 horas atrás, MAMP2 disse: bom dia JMSILVA, nao tenho voce tem ai pra me mandar? Posso sim,mas provavelmente não vai te atender, pq se vc não tem o prg, provavelmente a versão da FW que vc tem não contempla está função, mesmo compilando o prg no seu projeto a função msgyeno não reconhecerá. Neste caso é melhor reescrever a função msgyesno com base na alert() que @Kapiaba postou acima. 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.