2 Replies - 5588 Views - Last Post: 04 December 2008 - 08:48 AM Rate Topic: -----

#1 Wellokay  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 04-December 08

Help - Checked Radio Button to list box

Posted 04 December 2008 - 08:02 AM

Hi, i'm designing a restaurant system and i'm struggling to work out code for scanning for a radiobutton within a groupbox and submitting this to a listbox by a button. Somehow i'm going to have to make this take a value into the summary also.

My knowledge is very poor so any help would be greatly appreciated.

The interface is in attatchement. thanks.
Is This A Good Question/Topic? 0
  • +

Replies To: Help - Checked Radio Button to list box

#2 bflosabre91  Icon User is offline

  • go sabres

Reputation: 105
  • View blog
  • Posts: 1,439
  • Joined: 22-February 08

Re: Help - Checked Radio Button to list box

Posted 04 December 2008 - 08:34 AM

i think ur going to need to elaborate a little more. what do u mean scanning for a radio button and submitting it to a listbox by button?
Was This Post Helpful? 0
  • +
  • -

#3 Steeeve  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 58
  • Joined: 03-December 08

Re: Help - Checked Radio Button to list box

Posted 04 December 2008 - 08:48 AM

You can probably do it in a simple If-Then-ElseIf statement.

If RadioButton.Checked = True Then
			ListBox.Items.Add("Text of added radio button")


And just do ElseIf statements after that depending on how many radio buttons there are.
Was This Post Helpful? 1

Page 1 of 1