Re: Checkboxes

2014-05-20 Thread Bob Sneidar
erm… until you encounter combo boxes, which are like a hybrid field and button, but in the end are classified as a button. Bob S On May 6, 2014, at 06:20 , Mike Kerner mailto:mikeker...@roadrunner.com>> wrote: Pretty soon they start to abstract it on their own - a button is something that you

Re: Checkboxes

2014-05-06 Thread Richmond
On 06/05/14 19:54, Dar Scott wrote: my eyes glaze over Good one! However, too many children expect everything to be 100% fascinating all the time, and as soon as something isn't 100% fascinating or involves a little bit of focus, effort and work their eyes glaze over and you've lost them. S

Re: Checkboxes

2014-05-06 Thread Dar Scott
By the way, everybody, I am very mostly convinced. The real problem with this: if the highlight of button “Fast Mode” then … Is that it introduces too many concepts: 1 A checkbox is a button. 2 Values can be true or false. 3 You can access properties in a script. 4 The highlight of a but

Re: Checkboxes

2014-05-06 Thread Dar Scott
You can move a control (or part). You can’t move an object and a graphic leaves out images. On May 6, 2014, at 5:06 AM, Richmond wrote: > On 06/05/14 00:24, Dar Scott wrote: >> A kid recently made a fireball object. He called it a ‘part' so he could >> change from graphic to image. (I did

Re: Checkboxes

2014-05-06 Thread Dar Scott
my eyes glaze over On May 6, 2014, at 4:57 AM, Richmond wrote: > On 06/05/14 00:20, Dar Scott wrote: >> My suggestion was to take advantage of the property that was already there, >> text. >> >> The checkbox is a nice way to introduce ‘if’ statements. However, the >> syntax causes MEGO. It i

Re: Checkboxes

2014-05-06 Thread Richmond
On 06/05/14 18:37, J. Landman Gay wrote: One reason to use "part" is because it's already in the language as a synonym for control. On May 6, 2014 6:06:05 AM CDT, Richmond wrote: So; why not stick with OBJECT ? This is certainly better than CONTROL as not all objects contain scripts to contr

Re: Checkboxes

2014-05-06 Thread J. Landman Gay
One reason to use "part" is because it's already in the language as a synonym for control. On May 6, 2014 6:06:05 AM CDT, Richmond wrote: > >So; why not stick with OBJECT ? > >This is certainly better than CONTROL as not all objects contain >scripts >to control other things >or precipitate ac

Re: Checkboxes

2014-05-06 Thread Mike Kerner
Because in my experience, an object is too abstract in the beginning and it isn't a natural word that people relate to right off-the-top. It FEELS like vocabulary. You say "button", and folks feel at home. Then you tell them that all these different things are buttons - radios, checkboxes, defau

Re: Checkboxes

2014-05-06 Thread Richmond
On 06/05/14 03:16, Mike Kerner wrote: When I was teaching beginners to use HC back in The Day, "checkboxes are buttons" was always grasped right away. There are several types of BUTTON, and a CHECKBOX is a type of BUTTON. Anything simpler than that and the pupils/students may feel you are

Re: Checkboxes

2014-05-06 Thread Richmond
On 06/05/14 00:24, Dar Scott wrote: A kid recently made a fireball object. He called it a ‘part' so he could change from graphic to image. (I didn’t explain behavior and me, but this will have to come up.) Dar 'part', 'bit', 'component', 'control', 'thingy', 'object' . . . what I call s

Re: Checkboxes

2014-05-06 Thread Richmond
On 06/05/14 00:20, Dar Scott wrote: My suggestion was to take advantage of the property that was already there, text. The checkbox is a nice way to introduce ‘if’ statements. However, the syntax causes MEGO. It introduces several new concepts. Um. What's 'MEGO' ? Richmond. I have to re

Re: Checkboxes

2014-05-05 Thread Mike Kerner
When I was teaching beginners to use HC back in The Day, "checkboxes are buttons" was always grasped right away. On Mon, May 5, 2014 at 5:24 PM, Dar Scott wrote: > A kid recently made a fireball object. He called it a ‘part' so he could > change from graphic to image. (I didn’t explain behavi

Re: Checkboxes

2014-05-05 Thread Dar Scott
A kid recently made a fireball object. He called it a ‘part' so he could change from graphic to image. (I didn’t explain behavior and me, but this will have to come up.) Dar On May 5, 2014, at 12:40 PM, Mike Kerner wrote: > Whoops - yes, when I was describing what the code might be, I mess

Re: Checkboxes

2014-05-05 Thread Dar Scott
My suggestion was to take advantage of the property that was already there, text. The checkbox is a nice way to introduce ‘if’ statements. However, the syntax causes MEGO. It introduces several new concepts. I have to rearrange things, then, since responses are underwhelming. Maybe a quick

Re: Checkboxes

2014-05-05 Thread Scott Rossi
Another problem with using control-specific property names to represent the (existing) hilite of a control is syntax-related. Using "selected" might be appropriate to describing that state of a checkbox, but how do you distinguish this from the "physically selected with the pointer tool" selected?

Re: Checkboxes

2014-05-05 Thread Mike Kerner
Whoops - yes, when I was describing what the code might be, I messed up and didn't include the object type. My bad. But after looking at it again, I sort-of like not having to remind LC that it's a group, or a control, or a button, etc. On Mon, May 5, 2014 at 2:37 PM, Mike Kerner wrote: > I do

Re: Checkboxes

2014-05-05 Thread Mike Kerner
I don't like this idea. Every control then has to have some special keyword for describing its state, even when the controls are compound, as radio buttons and segmented controls, tables, etc. are on mobile. Originally, a checkbox was for one state, and a radio button was for multiple states. A

Re: Checkboxes

2014-05-03 Thread Dar Scott
Oh, don’t be embarrassed! I have lots of things I never learned and many others I forgot! All the rest I need reminders on. I’ve had grandkids teach me new tricks in LiveCode! Dar On May 3, 2014, at 5:11 PM, J. Landman Gay wrote: > After I sent that, I got embarrassed because I knew you al

Re: Checkboxes

2014-05-03 Thread J. Landman Gay
After I sent that, I got embarrassed because I knew you already knew that... On 5/3/14, 3:56 PM, Dar Scott wrote: Yeah, but that doesn’t change the highlight of the button. On May 3, 2014, at 2:39 PM, J. Landman Gay wrote: On 5/3/14, 1:45 PM, Dar Scott wrote: What do folks think of making t

Re: Checkboxes

2014-05-03 Thread Dar Scott
Yeah, but that doesn’t change the highlight of the button. On May 3, 2014, at 2:39 PM, J. Landman Gay wrote: > On 5/3/14, 1:45 PM, Dar Scott wrote: >> What do folks think of making the text of a checkbox either “checked” or >> “unchecked” depending on the highlight? >> >> So kids (and I) can w

Re: Checkboxes

2014-05-03 Thread J. Landman Gay
On 5/3/14, 1:34 PM, Richmond wrote: I found this in the Documentation: --- checkmark Type: property Syntax: set the checkmark of menuItem to {true | false} See Also: menuItem Keyword Introduced: 1.0 Platforms: Desktop, Server, Web and Mobile Supported Operating Systems: Summary: Has

Re: Checkboxes

2014-05-03 Thread J. Landman Gay
On 5/3/14, 1:45 PM, Dar Scott wrote: What do folks think of making the text of a checkbox either “checked” or “unchecked” depending on the highlight? So kids (and I) can write…. if button “multiplayer” is “checked” then — end if Forgot to say, you can already do that. The only difference

Re: Checkboxes

2014-05-03 Thread Dar Scott
Yikes! I just mentioned that in crossed mail. I didn’t realize people really used that. I’m open to other ideas. Even playing with the highlight property before introducing checkbox scripts. But eyes glaze over at this: if the highlight of button “Include tractor” then … I do functions earl

Re: Checkboxes

2014-05-03 Thread Dar Scott
I’m sorry, I wasn’t meaning to say a property is the same as system state (though the distinction between built-in functions and read-only global functions is blurred). I was meaning that the use of strings to represent state values has precedence. We are not limited to true and false. I do

Re: Checkboxes

2014-05-03 Thread J. Landman Gay
On 5/3/14, 2:23 PM, Dar Scott wrote: The text property is special in that it can be used as the value of the object. Most notably we can do this: put “All is good.” into field “Status” We don’t have to write this: set the text of field “Status” to “All is good.” So, I was thinking s

Re: Checkboxes

2014-05-03 Thread J. Landman Gay
On 5/3/14, 1:50 PM, Peter Bogdanoff wrote: Of course it works. set the hillite of button "check" -- sets its custom property set the hilite of button "check" -- sets its hilite Not senility, but failing eyesight. Hypercard was a lng time ago. :) As the recipient of some really bad eyesigh

Re: Checkboxes

2014-05-03 Thread Mark Wieder
Dar- Saturday, May 3, 2014, 12:23:53 PM, you wrote: > Today we can say this: > if the mouse is “down” then … That's a different kind of thing. "the mouse" is a state, not a control. As a state it can have one of two current conditions. By asking what the mouse "is" you are querying its curren

Re: Checkboxes

2014-05-03 Thread Dar Scott
Teaching LiveCode without the special nature of the text property is an interesting concept. That might have some advantages. However, almost all examples people will find do use the special nature of the text property. Also, it throws away the ability to use chunks in the text property. An

Re: Checkboxes

2014-05-03 Thread Richmond
On 03/05/14 22:36, Dar Scott wrote: I don’t agree. There is nothing wrong with using this: put x into field y We can’t say that real programmers use this: set the text of y to x Please, whatever else we may "fight" about, do not mention 'real programmers': it makes me think of phra

Re: Checkboxes

2014-05-03 Thread Dar Scott
I don’t agree. There is nothing wrong with using this: put x into field y We can’t say that real programmers use this: set the text of y to x I see nothing wrong with teaching the first, before showing it is the same as the latter. Indeed, the hello world is this: put “Hello Worl

Re: Checkboxes

2014-05-03 Thread Dar Scott
On May 3, 2014, at 1:04 PM, Richmond wrote: > I suppose the CLEVER thing would be to make 'pushed' and 'checked' synonyms > of 'hilite'. I have use getprop and setprop. I suppose one could have a student palette of objects with special scripts or behaviors that grows, but then the question is

Re: Checkboxes

2014-05-03 Thread Richmond
On 03/05/14 22:23, Dar Scott wrote: I was thinking the use of the text property would have a teaching advantage. Checkboxes could be used before properties are introduced. From a pedagogical point of view I can see your point; but I disagree with it; mainly as when I had learnt MINIFORTRAN I

Re: Checkboxes

2014-05-03 Thread Dar Scott
I was thinking the use of the text property would have a teaching advantage. Checkboxes could be used before properties are introduced. The text property is special in that it can be used as the value of the object. Most notably we can do this: put “All is good.” into field “Status” We do

Re: Checkboxes

2014-05-03 Thread Richmond
On 03/05/14 21:52, Peter Bogdanoff wrote: So radio buttons would have the "pushed" property? Peter Why not? After all a GUI does use a physical metaphor. - I suppose the CLEVER thing would be to make 'pushed' and 'checked' synonyms of 'hilite'. ---

Re: Checkboxes

2014-05-03 Thread Peter Bogdanoff
So radio buttons would have the "pushed" property? Peter On May 3, 2014, at 11:48 AM, Richmond wrote: > On 03/05/14 21:45, Dar Scott wrote: >> That reminds me… >> >> What do folks think of making the text of a checkbox either “checked” or >> “unchecked” depending on the highlight? >> >> So ki

Re: Checkboxes

2014-05-03 Thread Peter Bogdanoff
Of course it works. set the hillite of button "check" -- sets its custom property set the hilite of button "check" -- sets its hilite Not senility, but failing eyesight. Hypercard was a lng time ago. Livecoding keeps your brain sharp, but ruins your eyes. Peter On May 3, 2014, at 11:34 A

Re: Checkboxes

2014-05-03 Thread Richmond
On 03/05/14 21:45, Dar Scott wrote: That reminds me… What do folks think of making the text of a checkbox either “checked” or “unchecked” depending on the highlight? So kids (and I) can write…. if button “multiplayer” is “checked” then — end if What about allowing button mode in object r

Re: Checkboxes

2014-05-03 Thread Dar Scott
That reminds me… What do folks think of making the text of a checkbox either “checked” or “unchecked” depending on the highlight? So kids (and I) can write…. if button “multiplayer” is “checked” then — end if What about allowing button mode in object references? That might be harder. If

Re: Checkboxes

2014-05-03 Thread Jerry Jensen
Maybe you have another button "check" that is hiding somewhere and getting checked, maybe right underneath the one you see. I accidentally made something like that yesterday by accidentally option-dragging. Check the Project Browser for duplicates. .Jerry On May 3, 2014, at 11:14 AM, Peter Bogd

Re: Checkboxes

2014-05-03 Thread Richmond
On 03/05/14 21:25, J. Landman Gay wrote: On 5/3/14, 1:14 PM, Peter Bogdanoff wrote: set the hilite of button "check" to true Should not that check the checkbox? It works here. As it does here, and I found this in the Documentation: --- checkmark Type: property Syntax: set the ch

Re: Checkboxes

2014-05-03 Thread J. Landman Gay
On 5/3/14, 1:14 PM, Peter Bogdanoff wrote: set the hilite of button "check" to true Should not that check the checkbox? It works here. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com __

Re: Checkboxes in a scrolling field.

2012-08-31 Thread Peter Haworth
I agree, but attribution is good too! Pete lcSQL Software On Fri, Aug 31, 2012 at 2:32 PM, Devin Asay wrote: > If I post an idea here I have not expectation that people will not use it; > just the opposite! I've gotten so many great ideas from this list over the > years

Re: Checkboxes in a scrolling field.

2012-08-31 Thread Devin Asay
On Aug 31, 2012, at 3:17 PM, Peter Haworth wrote: > It's entirley possible I got the idea for a post by you Devin in which > case, in the light of the ongoing thread about pirating of works, I > apologize! > Pete If I post an idea here I have not expectation that people will not use it; just th

Re: Checkboxes in a scrolling field.

2012-08-31 Thread Peter Haworth
It's entirley possible I got the idea for a post by you Devin in which case, in the light of the ongoing thread about pirating of works, I apologize! Pete lcSQL Software On Fri, Aug 31, 2012 at 1:14 PM, Devin Asay wrote: > I've done this before, and it works great. > > D

Re: Checkboxes in a scrolling field.

2012-08-31 Thread Bob Sneidar
Don't know if this would help, but in a Datagrid, any element of an array that does not have an entry in the dgprop["columns"] will be invisible. I use this to hold a checkbox value, and then I have a group of checkboxes the height of the datagrid with the spacing set to match the height of the

Re: Checkboxes in a scrolling field.

2012-08-31 Thread Devin Asay
On Aug 31, 2012, at 1:43 PM, Peter Haworth wrote: > I've been thinking about doing this myself but haven't implemented it yet. > Here's what I had planned to do, there are probably better ways. > > 1) Get yourself two images, one of the unchecked check box, one of the > checked version, call 'em

Re: Checkboxes in a scrolling field.

2012-08-31 Thread Peter Haworth
I've been thinking about doing this myself but haven't implemented it yet. Here's what I had planned to do, there are probably better ways. 1) Get yourself two images, one of the unchecked check box, one of the checked version, call 'em "Unchecked" and "Checked". 2) When you're putting data into