Wellington Vieira Posted December 27, 2016 Report Share Posted December 27, 2016 Boa tarde Na imagem abaixo a tela com os rádios estão normais. rádio esta normal na imagem de tela Depois de pressionar a tecla ALT a tela fica assim, sumindo a(s) rádio(s). Alguma idéia sobre como resolver isso. Rádio sumiu da imagem Obrigado Quote Link to comment Share on other sites More sharing options...
CIACPD Posted December 27, 2016 Report Share Posted December 27, 2016 Amigo, testa esta tela em separado, se não conseguir posta como está fazendo para que possamos lhe ajudar. Daniel Segura Quote Link to comment Share on other sites More sharing options...
Wellington Vieira Posted December 27, 2016 Author Report Share Posted December 27, 2016 Quando eu passo o mouse sobre o do(s) rádio(s), elas voltam e não somem mais. O meu método colors na minha classe control.prg esta assim: METHOD Colors( hDC ) CLASS TControl DEFAULT ::nClrText := GetTextColor( hDC ),; ::nClrPane := GetBkColor( hDC ),; ::oBrush := TBrush():New( , ::nClrPane ),; ::lTransparent := .f. SetTextColor( hDC, ::nClrText ) SetBkColor( hDC, ::nClrPane ) if ::lTransparent SetBkMode( hDC, 1 ) // TRANSPARENT if IsAppThemed() if ! Empty( ::oBrush:hBitmap ) SetBrushOrgEx( hDC, nBmpWidth( ::oBrush:hBitmap ) - ::nLeft, nBmpHeight( ::oBrush:hBitmap ) - ::nTop ) FillRect( hDC, GetClientRect( ::hWnd ), ::oBrush:hBrush ) else // This condition is added by RAMESH BABU P on Nov. 06, 2006 if Upper( ::ClassName() ) $ "TCHECKBOX;TRADIO" DrawPBack( ::hWnd, hDC ) endif endif endif else if IsAppThemed() .and. Upper( ::ClassName() ) $ "TCHECKBOX;TRADIO" DrawPBack( ::hWnd, hDC ) endif endif return ::oBrush:hBrush Pode ser algo neste método... Quote Link to comment Share on other sites More sharing options...
Wellington Vieira Posted December 27, 2016 Author Report Share Posted December 27, 2016 Resolvido, No meu .rc, estava carregando um arquivo tema.lor e configurações para os get's e não se mostrassem como afundados na tela. foi só retirar estas linhas do rc e normalizou... obrigado. 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.