Search found 21 matches: oradmenu

Return to advanced search

Re: Colores en RADIO no funciona?

Joao, Tienes que hacerlo desde la claúsula ON INIT del diálogo: ACTIVATE DIALOG oDlgInd ON INIT ChangeColors( oRadMenu ) ... function ChangeColors( oRadMenu ) oRadMenu:aItems[1]:SetColor( CLR_CYAN, CLR_WHITE ) oRadMenu:aItems[2]:SetColor( CLR_CYAN, CLR_WHITE ) oRadMenu:aItems[3]:SetColor( ...
by Antonio Linares
Mon Sep 28, 2020 10:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Colores en RADIO no funciona?
Replies: 7
Views: 707

A problem with < oCtrl:cVarName > from TRadio and TDatepick

... + CRLF + ' SIZE ' + cWidth + ", " + cHeight + ; " PIXEL OF " + ::oWnd:cVarName + " ;" + CRLF + ; ' RADIOMENU ' + ::oRadMenu:cVarName + CRLF SetKey( VK_F2, { || OBJ_INFO() } )//--------- on FOCUS -------------------STATIC FUNCTION OBJ_INFO()LOCAL ...
by ukoenig
Fri Mar 29, 2019 11:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with < oCtrl:cVarName > from TRadio and TDatepick
Replies: 0
Views: 427

Re: Radio and GTF problem

Günther,

Please make this change in Class TRadio:

METHOD Click() INLINE ::oRadMenu:Select( Self ), ::Super:Click() // ::oRadMenu:Refresh()

that seems to solve it

Many thanks for the example
by Antonio Linares
Sun Apr 09, 2017 9:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Radio and GTF problem
Replies: 12
Views: 2222

Re: Radio and GTF problem

I have modified samples\testrad.prg with this:

REDEFINE RADIO oRadMenu VAR nOption ID 110, 120, 130, 140, 150 OF oDlg ;
ON CHANGE MsgInfo( nOption )

and it only appears once
by Antonio Linares
Fri Apr 07, 2017 4:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Radio and GTF problem
Replies: 12
Views: 2222

Re: "Snap" for Clipper

...   3071  3074  3075  3076  3076  3077  3083  3084  3909  3911G                   3915 OPRN                    WINDOW.PRG     2983  2988  2990  2996 ORADMENU                WINDOW.PRG     3849  3857  3857  3859  3859  3924  3932  3932  3934  3934 OREAD()                (function  in WINDOW.PRG)   ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 8645

Re: Radio y Brush

Rolando,

Prueba con:

AEval( oRadMenu:aItems, { | oRadio | oRadio:SetBrush( oBrush ) } )
by Antonio Linares
Tue Apr 23, 2013 4:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Radio y Brush
Replies: 8
Views: 971

Re: REDEFINE radio button prompts

Hello Tim,

in Sample < Testrad.prg > there is ON INIT

ACTIVATE DIALOG oDlg CENTERED ;
ON INIT oRadMenu:aItems[ 1 ]:SetText( "Hello" )

Best Regards
Uwe :lol:
by ukoenig
Fri May 18, 2012 8:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: REDEFINE radio button prompts
Replies: 2
Views: 548

Paint with strange behavior

I'm trying to color a dialog. It colors fine except FOR THE oRadMenu. When I add TRANSPARENT to the define dialog to color the radios a strange problem occurs. I click on a button to activate the dialog and if transparent is in the define dialog the program ...
by hag
Tue Nov 15, 2011 6:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Paint with strange behavior
Replies: 4
Views: 1073

Re: Image Transp.-Backgrd. of Radios and Checkboxes ?

... CHECKBOX oChk VAR lChk ID 92 OF oFld:aDialogs[ 1 ] ON CHANGE MsgBeep() COLOR 128 ================================== // REDEFINE RADIO [ <oRadMenu> VAR ] <nVar> ; // [ ID <nId,...> ] ; // [ <of: OF, WINDOW, DIALOG> <oWnd> ] ; // [ <help:HELPID, HELP ID> ...
by ukoenig
Fri Mar 12, 2010 6:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Radio- and Checkbox-Colors on Image-Backgrd. transp. ?
Replies: 1
Views: 583

Re: Form Controls standard on RibbonBar

... ACTION( MsgInfo( "Say Button" ) ) font oFontDATE But I see often the text small and for the radmenu any solution? i TRY WITH AEval( oRadMenu:aItems, { | oRad | oRad:lTransparent := .T. } ) BUT NOT RUN
by Silvio
Sun Jan 24, 2010 2:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Form Controls standard on RibbonBar
Replies: 1
Views: 493

Re: button bar

... @ 10,560 SAY oSay[3] PROMPT "CLIENTE" OF oBar COLOR CLR_WHITE, RGB(207,222,244) FONT oFontDATE SIZE 250, 25 PIXEL @ 0.7 , 98 RADIO oRadMenu VAR nValue ITEMS "Singola prenotazione", "Multi prenotazione" SIZE 180, 15 OF oBar; COLOR CLR_WHITE, RGB(213,225,241)
by ukoenig
Thu Jun 25, 2009 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: button bar
Replies: 9
Views: 2412

Re: button bar

... If You define the Color with these values, the Radios will have the background from the Buttonbar @ 1.0, 50 RADIO oRadMenu VAR nValue ITEMS "One", "Two" SIZE 50, 20 OF oBar COLOR 0, RGB( 206, 221, 240 ) ( looks like transparent ) http://www.pflegeplus.com/pictures/tooltip6.jpg ...
by ukoenig
Wed Jun 24, 2009 2:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: button bar
Replies: 9
Views: 2412

Prueba así:

oRadMenu:SetOption( 1 )

Revisa samples\TestRad.prg para que veas donde se crea oRadMenu
by Antonio Linares
Thu Jan 31, 2008 8:07 pm
 
Forum: FiveWin para CA-Clipper
Topic: Radio Buttoms
Replies: 3
Views: 1075

Otto,

You are missing the ":" of the assigment:

ON INIT (oRadMenu:aItems[ 1 ]:SetText( "Hello" ), oRadMenu:aItems[ 1 ]:nLeft := 25)
by Antonio Linares
Thu Dec 06, 2007 5:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RADIO CLASS
Replies: 5
Views: 1300

Hello Antonio, I tried: ON INIT (oRadMenu:aItems[ 1 ]:SetText( "Hello" ), oRadMenu:aItems[ 1 ]:nLeft = 25) But the position of aItems[1] does not change. How do I use nLeft? Thanks in advance Otto // Radio Buttons management sample #include ...
by Otto
Thu Dec 06, 2007 3:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RADIO CLASS
Replies: 5
Views: 1300
Next

Return to advanced search