Radio Buttons 
Author Message
 Radio Buttons

Hi,
Does anyone know how to unselect radio buttons in a
form for Paradox.  I have a section with two
radio buttons for a particular form, it has greater than
or less than symbol.  Well not all the time does this need to
be filled in.  If a use accidentally fills it in, is there anyway
to make that field blank again, by doing something to those
radio button?

Thanks for any help

Steve



Fri, 08 Oct 1999 03:00:00 GMT
 Radio Buttons

Quote:
> Does anyone know how to unselect radio buttons in a form for Paradox.  

Rename the radio buttons field from its default name. For example to
rbSelectOne. Then you can reset with:

rbSelectOne.value = blank()
or
rbSelectOne.value = ""                ; if it is an alpha field

Daniel A. Morgan



Fri, 08 Oct 1999 03:00:00 GMT
 Radio Buttons

Quote:

> Hi,
> Does anyone know how to unselect radio buttons in a
> form for Paradox.  I have a section with two
> radio buttons for a particular form, it has greater than
> or less than symbol.  Well not all the time does this need to
> be filled in.  If a use accidentally fills it in, is there anyway
> to make that field blank again, by doing something to those
> radio button?

> Thanks for any help

> Steve

The simple way is to have a button which when clicked puts a null value
(ie "") into the field.  Because the radio button cannot check a null it
turns them all off.

HTH

Che



Sat, 09 Oct 1999 03:00:00 GMT
 Radio Buttons

Quote:


> > Hi,
> > Does anyone know how to unselect radio buttons in a
> > form for Paradox.  I have a section with two
> > radio buttons for a particular form, it has greater than
> > or less than symbol.  Well not all the time does this need to
> > be filled in.  If a use accidentally fills it in, is there anyway
> > to make that field blank again, by doing something to those
> > radio button?

> > Thanks for any help

> > Steve

> The simple way is to have a button which when clicked puts a null value
> (ie "") into the field.  Because the radio button cannot check a null it
> turns them all off.

Or more generally,
MyUIObject.blank()

Hope this helps
--
****************************************************

* SCF Consulting, Calgary, AB
*
* 'There are more objects in Mainframe and the Net
*  than are formulated in your paradigm, Bob'
****************************************************



Sat, 09 Oct 1999 03:00:00 GMT
 Radio Buttons

Quote:



> > > Hi,
> > > Does anyone know how to unselect radio buttons in a
> > > form for Paradox.  I have a section with two
> > > radio buttons for a particular form, it has greater than
> > > or less than symbol.  Well not all the time does this need to
> > > be filled in.  If a use accidentally fills it in, is there anyway
> > > to make that field blank again, by doing something to those
> > > radio button?

> > > Thanks for any help

> > > Steve

> > The simple way is to have a button which when clicked puts a null value
> > (ie "") into the field.  Because the radio button cannot check a null it
> > turns them all off.
> Or more generally,
> MyUIObject.blank()

> Hope this helps
> --
> ****************************************************

> * SCF Consulting, Calgary, AB
> *
> * 'There are more objects in Mainframe and the Net
> *  than are formulated in your paradigm, Bob'
> ****************************************************

Much more elegant.  

Didn't know I could do that! Huh!  Learn something everyday!

Che



Sun, 10 Oct 1999 03:00:00 GMT
 Radio Buttons

Quote:
> Does anyone know how to unselect radio buttons in a form for Paradox.  

Can't you assign the field a dummy value?  Like if one button puts "Hello"
in the field and the other button puts in "Goodbye", would both buttons be
blank if you put "Come Again" in the field?

-James



Tue, 12 Oct 1999 03:00:00 GMT
 
 [ 6 post ] 

 Relevant Pages 

1. Radio Button Simulation for GROUPS of rows

2. Simulate a grid in VB6 with radio button options in a column

3. Radio Buttons - HELP

4. Data bound Radio Buttons

5. radio button icon for data control

6. Help on Bound radio buttons

7. Radio Buttons and databases

8. REALLY basic radio button question

9. Help me with radio button and DAO

10. Using Radio Buttons with Integer Field

11. A: How to disable a radio button in tDBRadioGroup

12. radio buttons and NULLS


 
Powered by phpBB® Forum Software