FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with display of Checkbox and Radio
Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
Re: Problem with display of Checkbox and Radio
Posted: Sat Sep 04, 2010 05:57 PM
Hi,
try testchk2.prg

If You click on checkbox to select it, caption disappears.



Antonio Linares wrote:Taavi,

Could you provide a small example to reproduce it ?

Thanks for your feedback :-)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problem with display of Checkbox and Radio
Posted: Sun Sep 05, 2010 08:26 AM

Taavi,

Are you using XP ?

On Windows 7 is fine, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 103
Joined: Sat Oct 18, 2008 08:13 PM
Re: Problem with display of Checkbox and Radio
Posted: Sun Sep 05, 2010 08:58 AM
Antonio Linares wrote:
Are you using XP ?


I can see the problem, Taavi reported, on Mac/Linux with Wine 1.2 (Windows XP).
Best Regards,

Ruediger Alich



---

HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
Re: Problem with display of Checkbox and Radio
Posted: Sun Sep 05, 2010 11:43 AM
Yes, XP.
I found reports about this problem started after I switched to FWH 10.07

Antonio Linares wrote:Taavi,

Are you using XP ?

On Windows 7 is fine, thanks
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problem with display of Checkbox and Radio
Posted: Sun Sep 05, 2010 03:57 PM
Taavi,

I have just tested it on XP emulated on VirtualBox and works fine:

Could you please post a screenshot ? thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Problem with display of Checkbox and Radio
Posted: Sun Sep 05, 2010 04:53 PM
Antonio Linares wrote:Taavi,

I have just tested it on XP emulated on VirtualBox and works fine:

Could you please post a screenshot ? thanks :-)

Mr Antonio
We can see the problem when (1) program is built without manifest and viewed on XP with themes disabled.
Can you simulate that environment ?
Regards



G. N. Rao.

Hyderabad, India
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Problem with display of Checkbox and Radio
Posted: Sun Sep 05, 2010 06:10 PM

I have given several screen shots. It goes away with the addition of manifest.

Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Problem with display of Checkbox and Radio
Posted: Sun Sep 05, 2010 11:30 PM
Hello
i confirm the problem, but using Microsoft compiler (2008)

Download sample HERE

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problem with display of Checkbox and Radio
Posted: Mon Sep 06, 2010 12:15 PM

Probably it is related to the recent discussed bug in function IsAppThemed()

Please try it adding:

function IsAppThemed()

return .T.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Problem with display of Checkbox and Radio
Posted: Wed Jan 12, 2011 02:01 PM
Hello,

I found the Reason of not working Textcolor for Radios and Checkboxes ( allways black ),
I deleted as a Test from resource :
#ifdef __FLAT__
1 24 "WindowsXP.Manifest"
#endif


Code (fw): Select all Collapse
...
...
@ 8, 10 SAY oSay3 PROMPT "Transp. Say" OF oWndDlg SIZE 100, 20 FONT oFont4 PIXEL
oSay3:SetColor( nTColor, )
oSay3:lTransparent := .T.

@ 25, 8 RADIO oRadio3 VAR nRadio3 OF oWndDlg PIXEL ;
ITEMS "Option &1", "Option &2" _3D SIZE 50, 12 COLOR nTColor ;
HELPID 100, 101 ;
ON CHANGE MsgBeep()
oRadio3:SetFont( oFont4 )
AEval( oRadio3:aItems, { | oRad | oRad:lTransparent := .T. } )

@ 55, 12 CHECKBOX oCheck3 VAR lCheck3  COLOR nTColor PIXEL ;
PROMPT "&ClickMe" OF oWndDlg SIZE 50, 15 ;
ON CHANGE oCheck3:SetText( "New Text" ) 
oCheck3:lTransparent := .T. 
oCheck3:SetFont( oFont4 )
...
...




after that, the Textcolor works like expected.
Any Solution, to get it working with < WindowsXP.Manifest > ?
Using Windows-Vista.



Best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 30
Joined: Sun Apr 24, 2011 12:50 AM
Re: Problem with display of Checkbox and Radio
Posted: Thu Mar 22, 2012 04:05 PM
ukoenig wrote:Hello,

I found the Reason of not working Textcolor for Radios and Checkboxes ( allways black ),
I deleted as a Test from resource :
#ifdef __FLAT__
1 24 "WindowsXP.Manifest"
#endif



Hello Uwe

At least you found the solutions to use Text and Back color for Radios using XP.Manifest ?

Thanks in advance!

Continue the discussion