Re: answer with...

2017-08-16 Thread Dr. Hawkins via use-livecode
On Wed, Aug 16, 2017 at 12:07 PM, jbv via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi > I have a blank... > I need to use a prompt in the form of > answer "Your choice" with "John" or "Mary" or "Cancel" > > the problem is that the number of options depends on the > result of a DB r

Re: answer with...

2017-08-16 Thread jbv via use-livecode
works like a charm... Thanks a lot. On Wed, August 16, 2017 10:13 pm, J. Landman Gay via use-livecode wrote: > On 8/16/17 10:07 pm, jbv via use-livecode wrote: > > >> I have a blank... >> I need to use a prompt in the form of >> answer "Your choice" with "John" or "Mary" or "Cancel" >> >> the pr

Re: answer with...

2017-08-16 Thread J. Landman Gay via use-livecode
On 8/16/17 10:07 pm, jbv via use-livecode wrote: > I have a blank... > I need to use a prompt in the form of >answer "Your choice" with "John" or "Mary" or "Cancel" > > the problem is that the number of options depends on the > result of a DB request, and can vary from 2 to 6... I think the

RE: answer with...

2017-08-16 Thread Ralph DiMola via use-livecode
Android Mobile is limited to 3. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: answer with...

2017-08-16 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > This works: > > on mouseUp > answer "your Choice" with fld "CHOIX" > end mouseUp Apparently that works with any return-delimited container, including variables. I couldn't find mention of this in the Dictionary entry for "answer". Any know offhand if there's a b

RE: answer with...

2017-08-16 Thread ** Clarence P Martin ** via use-livecode
Richmond Mathewson via use-livecode Sent: Wednesday, August 16, 2017 12:56 PM To: How to use LiveCode Cc: Richmond Mathewson Subject: Re: answer with... Ha, Ha! I didn't know that either until I had a "mad" idea and tried it. Richmond. On 8/16/17 10:54 pm, Klaus major-k via use

Re: answer with...

2017-08-16 Thread Richmond Mathewson via use-livecode
Ha, Ha! I didn't know that either until I had a "mad" idea and tried it. Richmond. On 8/16/17 10:54 pm, Klaus major-k via use-livecode wrote: Hi Richmond, Am 16.08.2017 um 21:32 schrieb Richmond Mathewson via use-livecode : This works: on mouseUp answer"your Choice" with fld "CHOIX" end

Re: answer with...

2017-08-16 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 16.08.2017 um 21:32 schrieb Richmond Mathewson via use-livecode > : > > This works: > > on mouseUp > answer"your Choice" with fld "CHOIX" > end mouseUp > > if fld "CHOIX" is a listField WOW, now THIS is really cool! And also works with "normal" (editable) fields. Really

Re: answer with...

2017-08-16 Thread Richmond Mathewson via use-livecode
http://forums.livecode.com/viewtopic.php?f=7&t=29638#p157100 Richmond. On 8/16/17 10:07 pm, jbv via use-livecode wrote: Hi I have a blank... I need to use a prompt in the form of answer "Your choice" with "John" or "Mary" or "Cancel" the problem is that the number of options depends on the

Re: answer with...

2017-08-16 Thread Richmond Mathewson via use-livecode
This works: onmouseUp answer"your Choice" withfld "CHOIX" endmouseUp if fld "CHOIX" is a listField Richmond. On 8/16/17 10:07 pm, jbv via use-livecode wrote: Hi I have a blank... I need to use a prompt in the form of answer "Your choice" with "John" or "Mary" or "Cancel" the problem i

answer with...

2017-08-16 Thread jbv via use-livecode
Hi I have a blank... I need to use a prompt in the form of answer "Your choice" with "John" or "Mary" or "Cancel" the problem is that the number of options depends on the result of a DB request, and can vary from 2 to 6... I tried to put ("John" or "Mary" or "Cancel") in a string but (answer "Yo

Re: Creating a short question answer with radio buttons

2012-09-01 Thread Peter Haworth
Hi Shawn, I emailed you offlist with a little stack that demonstrates the way I described to do this. Good luck! Pete lcSQL Software On Fri, Aug 31, 2012 at 7:14 PM, Shawn Blc wrote: > Peter, thank you for the reply! It'll take me a few days to wrap my big > head aroun

Re: Creating a short question answer with radio buttons

2012-09-01 Thread Randy Hengst
Hi Shawn, Pete is correct… lots of ways to do this. When I've built "tests" I use only one card and one set of answer buttons (named A, B, C, & D). The actual test items are stored in a hidden field (or can be taken from a text file). I started by using a hidden text field because I could "see

Re: Creating a short question answer with radio buttons

2012-08-31 Thread dunbarx
u can neither abuse nor overuse this resource. You'll see what I mean... Craig Newman -Original Message- From: Shawn Blc To: How to use LiveCode Sent: Fri, Aug 31, 2012 10:15 pm Subject: Re: Creating a short question answer with radio buttons Peter, thank you for the reply! It&#x

Re: Creating a short question answer with radio buttons

2012-08-31 Thread Shawn Blc
Peter, thank you for the reply! It'll take me a few days to wrap my big head around this. In the meantime I'll still be tinkering. I'm sure one day all of this will "click". Just like anything else. Regards, Shawn On Fri, Aug 31, 2012 at 7:43 PM, Peter Haworth wrote: > Hi Shawn, > Prob

Re: Creating a short question answer with radio buttons

2012-08-31 Thread Peter Haworth
Hi Shawn, Probably lots of ways to do this, here's one. First thing to do is put the checkboxes for each question into a group - that ensures that only one can be selected at a time. You might call the groups Q1, Q2, Q3, etc Then define a custom property of each group that specifies the correct

Creating a short question answer with radio buttons

2012-08-31 Thread Shawn Blc
Disclaimer: I'm totally new to LiveCode, bought Colin's PDF file, read the scripting conference stack on controls, etc. As of yet, I haven't really created anything of value to me or anyone else. I'm trying to change that. I've had the Gold Bundle for over a month. I'm trying to create a short