Radio problems

Post Reply
User avatar
Personal
Posts: 32
Joined: Sun Dec 03, 2006 12:05 pm
Location: BRASIL - Lins - SP
Contact:

Radio problems

Post by Personal »

Hi !
Please,look at the picture.

Image

The colors of the radio, do not obey the parameters of classe.

Code: Select all

METHOD Redefine( nID, lChecked, nPos, oDlg, oRadMenu, nHelpID, nClrText,;
                 nClrPane, cMsg, lUpdate, bWhen, bValid ) CLASS TRadio
The way I'm using

Code: Select all

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
User avatar
miragerr
Posts: 140
Joined: Tue Oct 11, 2005 2:36 am
Location: Brasil

Re: Radio problems

Post by miragerr »

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
User avatar
Personal
Posts: 32
Joined: Sun Dec 03, 2006 12:05 pm
Location: BRASIL - Lins - SP
Contact:

Re: Radio problems

Post by Personal »

É Jackson parece algo sem solução.
S.A.Oliveira
Lins-SP - Brasil
FWH 10.9, PellesC,MySql
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Radio problems

Post by Antonio Linares »

Sérgio,

Estas usando XP con temas ?

Aqui funciona bien con Windows 7:

test.prg

Code: Select all

#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: Select all

#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:
Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Personal
Posts: 32
Joined: Sun Dec 03, 2006 12:05 pm
Location: BRASIL - Lins - SP
Contact:

Re: Radio problems

Post by Personal »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Radio problems

Post by Antonio Linares »

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
Post Reply