Manoel Marinho Posted October 21, 2016 Report Share Posted October 21, 2016 Alguém sabe o que é isso? Não mostra o caractere & num campo oSay. Vejam a imagem abaixo: Quote Link to comment Share on other sites More sharing options...
aferra Posted October 21, 2016 Report Share Posted October 21, 2016 veja no get senão está centralizado Quote Link to comment Share on other sites More sharing options...
Theotokos Posted October 21, 2016 Report Share Posted October 21, 2016 tente : oemtoansi(...) Quote Link to comment Share on other sites More sharing options...
Manoel Marinho Posted October 24, 2016 Author Report Share Posted October 24, 2016 No arquivo de recursos o campo está assim: LTEXT "", 301, 137, 12, 132, 12, SS_LEFTNOWORDWRAP | WS_BORDER | WS_GROUP OemToAnsi() não resolveu. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 24, 2016 Report Share Posted October 24, 2016 Poste o .RC aqui para eu testar no meu workshop.exe the best. Quote Link to comment Share on other sites More sharing options...
Manoel Marinho Posted October 24, 2016 Author Report Share Posted October 24, 2016 NFENTEDIT DIALOG 218, 30, 279, 281 STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME FONT 8, "MS Sans Serif" { EDITTEXT 101, 65, 12, 55, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP EDITTEXT 102, 65, 27, 42, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP EDITTEXT 103, 110, 27, 16, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP EDITTEXT 105, 65, 41, 42, 12 EDITTEXT 106, 65, 55, 42, 12 COMBOBOX 107, 65, 69, 204, 110, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX 108, 65, 84, 148, 142, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX 104, 238, 84, 31, 46, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP EDITTEXT 109, 65, 99, 22, 12 EDITTEXT 110, 65, 113, 31, 12 COMBOBOX 111, 65, 127, 58, 54, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP EDITTEXT 112, 65, 142, 24, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 122, 169, 142, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 121, 245, 142, 24, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 113, 65, 156, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 129, 216, 156, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 114, 65, 170, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 117, 216, 170, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 124, 65, 184, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 125, 216, 184, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 115, 65, 198, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 116, 65, 212, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 120, 65, 226, 69, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP EDITTEXT 118, 216, 198, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 119, 216, 212, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 123, 216, 226, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 150, 65, 240, 204, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP PUSHBUTTON "Confirmar", 201, 2, 264, 50, 14 PUSHBUTTON "&Cancelar", 202, 57, 264, 50, 14 PUSHBUTTON "Novo Fornec", 208, 120, 264, 50, 14 PUSHBUTTON "Dados do &IPI", 207, 173, 264, 50, 14 PUSHBUTTON "Itens da &Nota", 206, 226, 264, 50, 14 RTEXT "Número/Série:", -1, 6, 29, 57, 8 RTEXT "Data Entrada:", -1, 6, 43, 57, 8 RTEXT "Especificação:", -1, 6, 71, 57, 8 RTEXT "Modelo:", -1, 6, 86, 57, 8 RTEXT "CFOP:", -1, 6, 101, 57, 8 RTEXT "Código Contábil:", -1, 6, 115, 57, 8 PUSHBUTTON "?", 204, 100, 99, 13, 12, NOT WS_TABSTOP PUSHBUTTON "?", 205, 100, 113, 13, 12, NOT WS_TABSTOP RTEXT "Data Emissão:", -1, 6, 57, 57, 8 RTEXT "Tributação:", -1, 6, 129, 57, 8 RTEXT "Alíquota:", -1, 6, 144, 57, 8 RTEXT "Valor Contábil:", -1, 6, 158, 57, 8 RTEXT "Base ICMS:", -1, 6, 172, 57, 8 RTEXT "Valor ICMS:", -1, 157, 172, 57, 8 RTEXT "ICMS Fonte:", -1, 157, 200, 57, 8 RTEXT "ICMS Entrada:", -1, 157, 214, 57, 8 RTEXT "Valor Isento:", -1, 6, 200, 57, 8 RTEXT "Valor Outros:", -1, 6, 214, 57, 8 RTEXT "Observação:", -1, 6, 228, 57, 8 LTEXT "", 302, 117, 99, 152, 12, WS_BORDER | WS_GROUP LTEXT "", 303, 117, 113, 152, 12, WS_BORDER | WS_GROUP RTEXT "Base Pis/Cofins:", -1, 157, 158, 57, 8 RTEXT "Fornecedor:", -1, 6, 14, 57, 8 PUSHBUTTON "?", 203, 122, 12, 13, 12, NOT WS_TABSTOP LTEXT "", 301, 137, 12, 132, 12, SS_LEFTNOWORDWRAP | WS_BORDER | WS_GROUP RTEXT "%:", -1, 232, 144, 11, 8 RTEXT "Chave NFe:", -1, 24, 242, 39, 8 RTEXT "Frete:", -1, 216, 86, 20, 8 RTEXT "Crédito Presumido:", -1, 102, 144, 64, 8 RTEXT "Frete/Despesas:", -1, 157, 228, 57, 8 RTEXT "Base ICMS ST:", -1, 6, 186, 57, 8 RTEXT "Valor ICMS ST:", -1, 157, 186, 57, 8 CONTROL "", -1, "static", SS_WHITEFRAME | WS_CHILD | WS_VISIBLE, 2, 4, 274, 256 } Quote Link to comment Share on other sites More sharing options...
aferra Posted October 24, 2016 Report Share Posted October 24, 2016 LTEXT "", 303, 117, 113, 152, 12, WS_BORDER | WS_GROUP LTEXT "", 301, 137, 12, 132, 12, SS_LEFTNOWORDWRAP | WS_BORDER | WS_GROUP como disse deve ser o alinhamento compare o 303 com 301 o que está em vermelho deve ser retirado. não manjo muito mas o adorador dessa coisa "hehehehe" vai aprovar,. ou não né, hahahahaha kapiaba 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 24, 2016 Report Share Posted October 24, 2016 Tente agora: NFENTEDIT DIALOG 151, 80, 279, 281 STYLE DS_ABSALIGN | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION FONT 8, "MS Sans Serif" { EDITTEXT 101, 65, 12, 55, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP EDITTEXT 102, 65, 27, 42, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP EDITTEXT 103, 110, 27, 16, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP EDITTEXT 105, 65, 41, 42, 12 EDITTEXT 106, 65, 55, 42, 12 COMBOBOX 107, 65, 69, 204, 110, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX 108, 65, 84, 148, 142, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX 104, 238, 84, 31, 46, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP EDITTEXT 109, 65, 99, 22, 12 EDITTEXT 110, 65, 113, 31, 12 COMBOBOX 111, 65, 127, 58, 54, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP EDITTEXT 112, 65, 142, 24, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 122, 169, 142, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 121, 245, 142, 24, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 113, 65, 156, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 129, 216, 156, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 114, 65, 170, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 117, 216, 170, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 124, 65, 184, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 125, 216, 184, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 115, 65, 198, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 116, 65, 212, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 120, 65, 226, 69, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP EDITTEXT 118, 216, 198, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 119, 216, 212, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 123, 216, 226, 53, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 150, 65, 240, 204, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP PUSHBUTTON "Confirmar", 201, 2, 264, 50, 14 PUSHBUTTON "&Cancelar", 202, 57, 264, 50, 14 PUSHBUTTON "Novo Fornec", 208, 120, 264, 50, 14 PUSHBUTTON "Dados do &IPI", 207, 173, 264, 50, 14 PUSHBUTTON "Itens da &Nota", 206, 226, 264, 50, 14 RTEXT "Número/Série:", -1, 6, 29, 57, 8 RTEXT "Data Entrada:", -1, 6, 43, 57, 8 RTEXT "Especificação:", -1, 6, 71, 57, 8 RTEXT "Modelo:", -1, 6, 86, 57, 8 RTEXT "CFOP:", -1, 6, 101, 57, 8 RTEXT "Código Contábil:", -1, 6, 115, 57, 8 PUSHBUTTON "?", 204, 100, 99, 13, 12, NOT WS_TABSTOP PUSHBUTTON "?", 205, 100, 113, 13, 12, NOT WS_TABSTOP RTEXT "Data Emissão:", -1, 6, 57, 57, 8 RTEXT "Tributação:", -1, 6, 129, 57, 8 RTEXT "Alíquota:", -1, 6, 144, 57, 8 RTEXT "Valor Contábil:", -1, 6, 158, 57, 8 RTEXT "Base ICMS:", -1, 6, 172, 57, 8 RTEXT "Valor ICMS:", -1, 157, 172, 57, 8 RTEXT "ICMS Fonte:", -1, 157, 200, 57, 8 RTEXT "ICMS Entrada:", -1, 157, 214, 57, 8 RTEXT "Valor Isento:", -1, 6, 200, 57, 8 RTEXT "Valor Outros:", -1, 6, 214, 57, 8 RTEXT "Observação:", -1, 6, 228, 57, 8 LTEXT "", 302, 117, 99, 152, 12, WS_BORDER | WS_GROUP LTEXT "", 303, 117, 113, 152, 12, WS_BORDER | WS_GROUP RTEXT "Base Pis/Cofins:", -1, 157, 158, 57, 8 RTEXT "Fornecedor:", -1, 6, 14, 57, 8 PUSHBUTTON "?", 203, 122, 12, 13, 12, NOT WS_TABSTOP LTEXT "", 301, 137, 12, 132, 12, WS_BORDER | WS_GROUP RTEXT "%:", -1, 232, 144, 11, 8 RTEXT "Chave NFe:", -1, 24, 242, 39, 8 RTEXT "Frete:", -1, 216, 86, 20, 8 RTEXT "Crédito Presumido:", -1, 102, 144, 64, 8 RTEXT "Frete/Despesas:", -1, 157, 228, 57, 8 RTEXT "Base ICMS ST:", -1, 6, 186, 57, 8 RTEXT "Valor ICMS ST:", -1, 157, 186, 57, 8 GROUPBOX "group box", 501, 2, 3, 274, 257 } Quote Link to comment Share on other sites More sharing options...
Manoel Marinho Posted October 24, 2016 Author Report Share Posted October 24, 2016 Infelizmente ainda não resolveu, segue a tela após a alteração do recurso: Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 24, 2016 Report Share Posted October 24, 2016 Quando você diz: Não mostra o caractere & num campo oSay. Seria o ALT+Letra? Quote Link to comment Share on other sites More sharing options...
Manoel Marinho Posted October 24, 2016 Author Report Share Posted October 24, 2016 Não, o que acontece é que as strings de tem & aparecem nos campos oSay sem &. Exemplo: D&D aparece DD Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 24, 2016 Report Share Posted October 24, 2016 Mas meu amigo, neste caso: Exemplo: D&D aparece DD vai aparecer D com _D, pois o & comercial para para o rWindows, siginifica que o ALT+D, será acionado. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 24, 2016 Report Share Posted October 24, 2016 Veja o correto: #include "FiveWin.ch" function Main() local oDlg DEFINE DIALOG oDlg TITLE "Test" COLOR "W/B" @ 2, 2 SAY "Hello D " + " && " + " D Manja pra Kray() kkkkkkkkkk" COLOR CLR_HBLUE, CLR_WHITE //COLOR "R/BG" ACTIVATE DIALOG oDlg CENTERED return nil Quote Link to comment Share on other sites More sharing options...
Manoel Marinho Posted October 24, 2016 Author Report Share Posted October 24, 2016 Peguei seu exemplo e montei a função abaixo que funcionou, obrigado. function TestaStr( mSTR ) if at( "&", mSTR ) == 0 return mSTR endif return left( mSTR, at( "&", mSTR ) - 1 ) + "&&" + right( mSTR, len( mSTR ) - at( "&", mSTR ) + 1 ) Quote Link to comment Share on other sites More sharing options...
Ariston Santos Posted October 24, 2016 Report Share Posted October 24, 2016 Até onde sei, o & no WorkShop e Fivewin, se colado junto ao caractere seguinte, o transforma em tecla de atalho (para Alt + Tecla). Assim, &D indica Alt+D. Se você não quer isso, experimente colocar um espaço - D & D (D+espaço+&+espaço+D). Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 25, 2016 Report Share Posted October 25, 2016 Também não funcionará Ariston. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 25, 2016 Report Share Posted October 25, 2016 Com WORKSHOP.EXE the best, basta fazer assim no SAY, viu Alessandro? kkkkkkkkkkkkkkkkkk test DIALOG 161, 89, 186, 94 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Teste de Say com Recurso" FONT 8, "MS Sans Serif" { EDITTEXT 100, 56, 28, 98, 14, ES_AUTOHSCROLL | WS_VISIBLE DEFPUSHBUTTON "OK", IDOK, 40, 68, 50, 14, WS_VISIBLE PUSHBUTTON "Cancel", IDCANCEL, 101, 68, 50, 14, WS_VISIBLE CTEXT "TESTE DE D && D EM FWHX16.08", 401, 5, 4, 176, 12 } FWHX16.08, esse humilha mesmo... kkkkkkkkkkkkkkkkkkkkkkkkk Abs Quote Link to comment Share on other sites More sharing options...
aferra Posted October 25, 2016 Report Share Posted October 25, 2016 heheheheheh em @GET nem preciso fazer nada. não dá erro. kkkkkkkkkkkkkkkkkkkkkkkkkkkkk Quote Link to comment Share on other sites More sharing options...
Manoel Marinho Posted October 25, 2016 Author Report Share Posted October 25, 2016 Recebi na semana passada a versão FWHX16.08 mas estou com dificuldades para compilar, os amigos pode ajudar ? Quote Link to comment Share on other sites More sharing options...
aferra Posted October 25, 2016 Report Share Posted October 25, 2016 sugestão, abra um novo tópico e de kra mostre a dificuldade...ajudar "nóis" ajuda mas se for para adivinhar ahhhhh nem estaria programando hehehehehe seria kda leitura de mão, kkkkkkkkkkkkkkkk kapiaba 1 Quote Link to comment Share on other sites More sharing options...
Manoel Marinho Posted October 25, 2016 Author Report Share Posted October 25, 2016 Ok, vou abrir novo tópico, obrigado. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted October 25, 2016 Report Share Posted October 25, 2016 Manoel Marinho, recomendo que você fale com o Valdir Brando, pelo skype, manja tudo dos paranauês... kkkkkkkkkkkkkk, se não fosse ele, eu não compilava nem o \samples... kkkkkkkkkkkkkkkkkk, qustão de VURRICE!!! kkkkkkkkkk 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.