FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour REDEFINE radio button prompts
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
REDEFINE radio button prompts
Posted: Fri May 18, 2012 07:10 PM

Using a resource, I have radio buttons where the prompts are defined in the resource. However, I want them changed programatically.

If the object is oRadBtn, what is the array variable in a REDEFINE for the prompts ? It would appear to be acItems ( in source ), but that generates an error .

Thanks.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: REDEFINE radio button prompts
Posted: Fri May 18, 2012 08:14 PM
Hello Tim,

in Sample < Testrad.prg > there is ON INIT

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

Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: REDEFINE radio button prompts
Posted: Fri May 18, 2012 11:29 PM

Perfect !

Thank you.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit

Continue the discussion