Radio problems

Radio problems

Postby Personal » Fri Feb 20, 2009 8:59 pm

Hi !
Please,look at the picture.

Image

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


The way I'm using
Code: Select all  Expand view
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
Personal
 
Posts: 32
Joined: Sun Dec 03, 2006 12:05 pm
Location: BRASIL - Lins - SP

Re: Radio problems

Postby miragerr » Mon Feb 23, 2009 3: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
User avatar
miragerr
 
Posts: 140
Joined: Tue Oct 11, 2005 2:36 am
Location: Brasil

Re: Radio problems

Postby Personal » Wed Feb 25, 2009 10:23 pm

É Jackson parece algo sem solução.
S.A.Oliveira
Lins-SP - Brasil
FWH 10.9, PellesC,MySql
User avatar
Personal
 
Posts: 32
Joined: Sun Dec 03, 2006 12:05 pm
Location: BRASIL - Lins - SP

Re: Radio problems

Postby Antonio Linares » Wed Feb 25, 2009 11:05 pm

Sérgio,

Estas usando XP con temas ?

Aqui funciona bien con Windows 7:

test.prg
Code: Select all  Expand view

#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  Expand view

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

Re: Radio problems

Postby Personal » Thu Feb 26, 2009 9: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
User avatar
Personal
 
Posts: 32
Joined: Sun Dec 03, 2006 12:05 pm
Location: BRASIL - Lins - SP

Re: Radio problems

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


Return to FiveWin for Harbour/xHarbour

Who is online

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