[futurebasic] Button selection

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 1999 : Group Archive : Group : All Groups

From: stewart harris <stharris@...>
Date: Mon, 22 Mar 1999 15:19:43 -0500
 I’m sure this is a simple problem but so far the solution has excaped
me.
I have two pairs of buttons and want each pair to act independently of
the other. I started with having all four as radio buttons, but then the
selection was just one of the four. So I made the bottom pair
checkboxes, but that was no improvement. A user could still only select
one of the four.

Can somebody tell me how I can insulate one pair from the other so a
user can select either “hot” or “cold” in one group and then make a
selection in the other that doesn’t wipe out the hot/cold selection?

Thanks for the help.

Stewart

  BUTTON _btnYes,
_activeBtn,"Yes",(290,20)-(330,35),_CdefBaseID_CdefUseWindowFont_radio
  BUTTON _btnNo,  _markedBtn,"No",
(330,20)-(365,35),_CdefBaseID_CdefUseWindowFont_radio

  y1=y2+vgap:y2=y1+dv%

  BUTTON _btnDep, _activeBtn,"Hot",
(280,40)-(320,55),_CdefBaseID_CdefUseWindowFont_checkBox
  BUTTON
_btnDraw,_markedBtn,"Cold",(325,40)-(365,55),_CdefBaseID_CdefUseWindowFont_checkBox