marcioe Posted December 20, 2022 Report Share Posted December 20, 2022 Olá a todos é Possivel fazer Botoes/opção/Travas/ (seja lá como for o nome) Opcoes de SIM / NAO Quote Link to comment Share on other sites More sharing options...
Marca Posted December 20, 2022 Report Share Posted December 20, 2022 Marcio. Basta vc pegar as duas imagens ( uma ON e outra off ) e tratar no browse Quote Link to comment Share on other sites More sharing options...
Theotokos Posted December 20, 2022 Report Share Posted December 20, 2022 Fala meu caro! Blz?! Dá uma olhada neste comando, não uso/usei mas faz isso ai... quer dize rbem parecido.... Exemplo em : switchtst.prg (na pasta do samples\fivewin) #include "fivewin.ch" function Main() local oWnd, oFont local lVar1, lVar2, lVar3 local oYn1, oYn2, oYn3, oSay1, oSay2, oSay3 lVar1 := lVar2 := lVar3 := .t. DEFINE FONT oFont NAME "Segoe UI Light" SIZE 0,-18 BOLD DEFINE WINDOW oWnd COLOR CLR_GRAY,CLR_WHITE oWnd:SetFont( oFont ) // oWnd:nOpacity := 140 @ 98, 40 SAY oSay1 PROMPT If( lVar1, 'On', 'Off' ) SIZE 60,30 PIXEL OF oWnd UPDATE @ 100,207 SWITCH oYn1 VAR lVar1 PIXEL OF oWnd UPDATE ; COLOR CLR_GREEN, CLR_GRAY ; ON CHANGE oWnd:Update() @ 128, 40 SAY oSay2 PROMPT If( lVar2, 'On', 'Off' ) SIZE 60,30 PIXEL OF oWnd UPDATE @ 130,207 SWITCH oYn2 VAR lVar2 PIXEL OF oWnd UPDATE OVALSTYLE ; COLOR CLR_GREEN, CLR_GRAY ; THUMBSIZE 16 THUMBCOLOR CLR_BLUE ; ON CHANGE oWnd:Update() @ 158, 40 SAY oSay3 PROMPT If( lVar3, 'On', 'Off' ) SIZE 60,30 PIXEL OF oWnd UPDATE @ 160,207 SWITCH oYn3 VAR lVar3 PIXEL OF oWnd UPDATE RADIOSTYLE ; ON CHANGE oWnd:Update() ACTIVATE WINDOW oWnd RELEASE FONT oFont return nil Quote Link to comment Share on other sites More sharing options...
marcioe Posted December 21, 2022 Author Report Share Posted December 21, 2022 Ola, obrigado a todos, mas é no pelles c teria como fazer Quote Link to comment Share on other sites More sharing options...
kapiaba Posted December 21, 2022 Report Share Posted December 21, 2022 Eu acho que não. Verifique nas ferramentas do Pellesc, se ele tem esse tipo de controle. Duvido, más... o Workshop.exe com certeza não tem. Regards, saludos. Quote Link to comment Share on other sites More sharing options...
marcioe Posted December 21, 2022 Author Report Share Posted December 21, 2022 Fiz como o marcelo indicou, coloquei duas imagens no PELLES C, conforme status mudo 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.