ERROR ON RADIO

ERROR ON RADIO

Postby Silvio » Sun Apr 10, 2011 11:00 am

WHEN IF i USE TWO RADIO AND CLICK ON SECOND RADIO FWH HIDE THE FIRST RADIO ?

Code: Select all  Expand view
#include "fivewin.ch"

Function Test()
LOCAL oDlg,oRAD1,NTIPO:=1

lOCAL lUppercase:=.F.
LOCAL cUpperCase:="SSSS"


DEFINE DIALOG oDlg

@ 6, 10 RADIO oRad1 VAR ntipo PROMPT "&RADIO 1" PIXEL SIZE 105, 12 OF oDlg

@ 22, 20 CHECKBOX lUppercase PROMPT cUpperCase OF oDlg SIZE 180, 12 PIXEL  WHEN ntipo=1

@ 42, 10 RADIOITEM "RADIO 2" RADIOMENU oRad1 PIXEL SIZE 105, 12 OF oDlg

activate dialog oDlg

retuRN NIL



I try to modify control.prg

if IsAppThemed() .and. Upper( ::ClassName() ) $ "TCHECKBOX;TRADIO;TGROUP"
// DrawPBack( ::hWnd, hDC )
endif
endif


Bu tI have the same error on Win xp and Win Seven
Last edited by Silvio on Mon Apr 11, 2011 9:40 am, edited 1 time in total.
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: ERROR ON RADIO

Postby Silvio » Mon Apr 11, 2011 9:38 am

Now on win xp I add

function IsAppThemed()

return .F.

and it seems go ok , this afternoon I try to win seven

I'm thinking perhaps there is an error on DrawPBack( ::hWnd, hDC ) function
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 95 guests