Page 1 of 1

SOLVED - Writing the selections of a list to the database

Posted: Fri Jul 29, 2011 3:23 pm
by admin12
I have checkboxes that open up lists of choices that can be multi-highlighted.

I need to create a string for each skill (many of them).

Here is what I have so far:

if the hilite of btn "ckArtsCrafts" then
put the hilite of btn "listAandC" into AandC
answer AandC
end if

I know it's not right. How would I write the line:

put the hilite of btn "listAandC" into AandC

to make it correct. Again, it is a multi-select list, so how would I write all the highlighted choices to one string?

Thank you.

Mike

Re: SOLVED - Writing the selections of a list to the database

Posted: Fri Jul 29, 2011 5:20 pm
by jacque
Take a look in the dictionary at the hilitedButtonName and the hilitedButton. Those will give you the name or number of the radio button that has the current hilite. It only works if your radio buttons are grouped and have their readioBehavior set to true.

Re: SOLVED - Writing the selections of a list to the database

Posted: Fri Jul 29, 2011 6:03 pm
by admin12
jacque wrote:Take a look in the dictionary at the hilitedButtonName and the hilitedButton. Those will give you the name or number of the radio button that has the current hilite. It only works if your radio buttons are grouped and have their readioBehavior set to true.
Thank you. I had already solved it on my own, but your explanation should help others.

Mike