FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Checkbox and Radio are not transparent!?
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Checkbox and Radio are not transparent!?
Posted: Thu Oct 30, 2008 08:42 PM

Uwe,

> Is there a solution for XP, maybe to get the checkbox working as well ?

We have not found it :-( It is ok for Vista, but it is not ok for XP.

>
Is it possible, to change the textcolor of RADIO, CHECKBOX and SAY at runtime ?
>

oControl:SetColor( ... )
oControl:Refresh()

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Transparent Checkbox
Posted: Thu Oct 30, 2008 10:55 PM
Antonio,

Say, radio and text works well in transparent-mode with XP.
Only the Checkbox-transparent-text doesn't work.

A easy solution ?

In resources :
I disconnect the text from the Checkbox ( no text ).
Next I resize the checkbox to the box-size ( keeping only the square ).
In the screenshot, I didn't resize exactly, to show what i mean.
Next stepp : I Show the needed text next to the checkbox as extra text.

In XP the checkbox with text is shown correct now.

XP- SCREENSHOT



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: 654
Joined: Fri Oct 21, 2005 05:54 AM
Checkbox and Radio are not transparent!?
Posted: Fri Oct 31, 2008 01:14 PM
Hi

This is the result of a simple work around to paint RADIOS/CHECKBOXES/SAYS/GROUPS/IMAGES and other controls
on gradient dialogs.

This work around is tested in WIN98, WINXP NOT TESTED ON VISTA.



In case anybody needs any help in this regard, they are welcome.

- Ramesh Babu P
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Testing Transparent
Posted: Fri Oct 31, 2008 01:34 PM

Hello RAMESHBABU,

can you show me the source for it, to see, what is different
to my solution ?

I have all Windows-versions installed.
I can test on 98, NT, 2000, XP and VISTA.

Regards
Uwe :lol:

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: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Checkbox and Radio are not transparent!?
Posted: Fri Oct 31, 2008 02:46 PM

Hello RAMESHBABU!
Please send me your source! I am very interesting!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
Checkbox and Radio are not transparent!?
Posted: Fri Oct 31, 2008 02:52 PM

Hello Mr.ukoenig and Mr.Günther

Please check your inboxes

Regards,

  • Ramesh Babu P
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Dialog Gradient
Posted: Fri Oct 31, 2008 03:25 PM

Hello Mr. RAMESHBABU,

I tested it with VISTA.
It works perfect.
Thank you very much for your nice solution.

regards
Uwe :lol:

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: 654
Joined: Fri Oct 21, 2005 05:54 AM
Checkbox and Radio are not transparent!?
Posted: Fri Oct 31, 2008 03:40 PM

Mr.ukoenig

Thank You and you are most welcome.

Regards

-Ramesh Babu P

Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Checkbox and Radio are not transparent!?
Posted: Fri Oct 31, 2008 04:05 PM

Hi RAMESHBABU!
Please send me your source! I am very interesting!

Thanks,

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Checkbox and Radio are not transparent!?
Posted: Fri Oct 31, 2008 04:15 PM

Hello RAMESHBABU!

Many thanks for your reply!
I tested your solution on vista and 2000. On 2000 it is not functioning. On Vista is functioning but if the checkbox is clicked, the old and the new text is shown!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
DLL problem ?
Posted: Fri Oct 31, 2008 04:47 PM

Hello Günther,

I think, Microsoft changed a DLL belongs to the display, because of
all the different results.
Some DLL's can transfered to other window-version without problem.
Maybe i can find out searching in Internet, the name of the DLL
changed in VISTA.

Regards
Uwe :lol:

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: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Checkbox and Radio are not transparent!?
Posted: Fri Oct 31, 2008 05:57 PM

Ramesh,

Would you mind to share your solution here in the forums ? thanks :-)

Otherwise I appreciate if you email it to me, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
Checkbox and Radio are not transparent!?
Posted: Sat Nov 01, 2008 12:49 AM

Mr.Antonio/Mr.Horizon

Please check your inboxes.

Regards

  • Ramesh Babu P
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Checkbox and Radio are not transparent!?
Posted: Sat Nov 01, 2008 06:09 AM

Dear Mr.Ramesh Babu,

I would like to see your code. If you don't mind can you send it to my email id anserkk@gmail.com

Regards

Anser

Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
Checkbox and Radio are not transparent!?
Posted: Sun Nov 02, 2008 12:27 AM

Hello Anser,

Check your inbox.

  • Ramesh Babu P