Construct Sentence
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Construct Sentence
lol
Last edited by ystan2010 on Tue May 17, 2011 8:32 am, edited 2 times in total.
Re: Construct Sentence
There are plenty of techniques you could use, not sure if I've got your meaning exactly right but you could try something like this attached stack.
Make your 3 fields list fields with the lockText set to true, and set the listBehavior set to true. Then you can select individual lines in the fields to choose which option in each part of speech you want. (Make the three fields into a group and put the mouseUp handler in the group script so that it triggers whichever field is selected.) Use "the selectedText of..." to pick the text from each field and add them together to make your sentence for display.
I hope that is at least a starting point. I am sure there are other ways you could do the same too.
Make your 3 fields list fields with the lockText set to true, and set the listBehavior set to true. Then you can select individual lines in the fields to choose which option in each part of speech you want. (Make the three fields into a group and put the mouseUp handler in the group script so that it triggers whichever field is selected.) Use "the selectedText of..." to pick the text from each field and add them together to make your sentence for display.
I hope that is at least a starting point. I am sure there are other ways you could do the same too.
- Attachments
-
- grammar.zip
- (1.22 KiB) Downloaded 254 times
Re: Construct Sentence
Hi ystan,
You would have to program it. If you have specific quesitons just ask them in the Forum
Kind regards
Bernd
You would have to program it. If you have specific quesitons just ask them in the Forum
Kind regards
Bernd
Last edited by bn on Tue May 17, 2011 9:22 am, edited 2 times in total.
Re: Construct Sentence
lol
Last edited by ystan2010 on Tue May 17, 2011 5:20 pm, edited 1 time in total.
Re: Construct Sentence
Bernd, kannst du bitte löschen Sie diesen Beitrag für mich? Schätzen Sie es! Bitte schicken Sie mir, wenn u irgendwelche Fragen haben.
Vielen Dank!
Vielen Dank!
Re: Construct Sentence
Hi,
I would like to continue to follow this discussion on the forum. Why did you delete your original question Ystan?
Mark
I would like to continue to follow this discussion on the forum. Why did you delete your original question Ystan?
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Construct Sentence
Was my sampler stack any help?