Page 1 of 1
Radio problems
Posted: Fri Feb 20, 2009 8:59 pm
by Personal
Hi !
Please,look at the picture.
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.
Re: Radio problems
Posted: Mon Feb 23, 2009 3:57 am
by miragerr
Ola Sergio
Comigo acontece a mesma coisa, acho que isso é um BUG no FWH
Será ??
Tambem estou no aguardo
Re: Radio problems
Posted: Wed Feb 25, 2009 10:23 pm
by Personal
É Jackson parece algo sem solução.
Re: Radio problems
Posted: Wed Feb 25, 2009 11:05 pm
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:
Re: Radio problems
Posted: Thu Feb 26, 2009 9:13 pm
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.
Re: Radio problems
Posted: Thu Feb 26, 2009 11:57 pm
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