FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Radio problems
Posts: 32
Joined: Sun Dec 03, 2006 12:05 PM
Radio problems
Posted: Fri Feb 20, 2009 08:59 PM
Hi !
Please,look at the picture.



The colors of the radio, do not obey the parameters of classe.
Code (fw): Select all Collapse
METHOD Redefine( nID, lChecked, nPos, oDlg, oRadMenu, nHelpID, nClrText,;
                 nClrPane, cMsg, lUpdate, bWhen, bValid ) CLASS TRadio


The way I'm using
Code (fw): Select all Collapse
REDEFINE RADIO oTipAte1 VAR _tipate1 ID 104,105,106 OF oFld:aDialogs[4] UPDATE COLOR PRETO,CINZACC



Sorry, my english.

Tanks.
S.A.Oliveira

Lins-SP - Brasil

FWH 10.9, PellesC,MySql
Posts: 140
Joined: Tue Oct 11, 2005 02:36 AM
Re: Radio problems
Posted: Mon Feb 23, 2009 03:57 AM

Ola Sergio

Comigo acontece a mesma coisa, acho que isso é um BUG no FWH

Será ??

Tambem estou no aguardo

Jackson Douglas C. Brito

Boa Vista - RR - Brasil

FWH 12.09 Last Build

xHarbour Free

UESTUDIO

SQLRDD
Posts: 32
Joined: Sun Dec 03, 2006 12:05 PM
Re: Radio problems
Posted: Wed Feb 25, 2009 10:23 PM

É Jackson parece algo sem solução.

S.A.Oliveira

Lins-SP - Brasil

FWH 10.9, PellesC,MySql
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Radio problems
Posted: Wed Feb 25, 2009 11:05 PM
Sérgio,

Estas usando XP con temas ?

Aqui funciona bien con Windows 7:

test.prg
Code (fw): Select all Collapse
#include "FiveWin.ch" 
 
function Main() 
 
   local oDlg, oFld, nOption := 1, oRadMenu 
    
   DEFINE DIALOG oDlg RESOURCE "Test" 
 
   REDEFINE FOLDER oFld ; 
      PROMPTS "One", "Two" ; 
      DIALOGS "One", "Two" ; 
      ID 100 OF oDlg 

   REDEFINE RADIO oRadMenu VAR nOption ID 110, 120, 130 OF oFld:aDialogs[ 1 ] ;
      ON CHANGE MsgBeep()
      
   ACTIVATE DIALOG oDlg CENTERED 
 
return nil


test.rc
Code (fw): Select all Collapse
#ifdef __FLAT__ 
   1 24 "WindowsXP.Manifest" 
#endif 
 
test DIALOG 17, 36, 185, 147 
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU 
CAPTION "Test" 
FONT 8, "MS Sans Serif" 
{ 
 CONTROL "", 100, "SysTabControl32", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 5, 6, 175, 117 
 DEFPUSHBUTTON "OK", 1, 67, 128, 50, 14 
} 
 
one DIALOG 6, 15, 175, 117
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif"
{
 CONTROL "&One", 110, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 10, 16, 30, 12
 CONTROL "&Two", 120, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 28, 30, 12
 CONTROL "T&hree", 130, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 40, 30, 12
}
 
two DIALOG 6, 15, 175, 117
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif"
{
}


Asi se ve:
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 32
Joined: Sun Dec 03, 2006 12:05 PM
Re: Radio problems
Posted: Thu Feb 26, 2009 09:13 PM

Tanks Antonio.

I'm using the Windows 7.

Pelles (.RES), FiveWin 901, XH 1.10.

Temas Manifest ( Pelles )

Realy, your screen doens't show the problem.
By the way, You arent using colors of back into the folder.

Look at the picture the I popsted above.

Sorry my english again.

S.A.Oliveira

Lins-SP - Brasil

FWH 10.9, PellesC,MySql
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Radio problems
Posted: Thu Feb 26, 2009 11:57 PM

Sérgio,

Please modify the example PRG that I have posted to reproduce the problem, thanks

Or please provide a PRG to reproduce it

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion