Re: radiobuttons, checkboxes and icongravity

2019-06-02 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 02.06.2019 um 13:14 schrieb Richmond via use-livecode > : > > Hence my feature request and my barbed comment re some of LiveCode's claims: > http://forums.livecode.com/viewtopic.php?f=6&t=32669 well, Mr. b. is still using version 0.9 beta of Runtime Revolution, so don't exspe

Re: radiobuttons, checkboxes and icongravity

2019-06-02 Thread Richmond via use-livecode
Hence my feature request and my barbed comment re some of LiveCode's claims: http://forums.livecode.com/viewtopic.php?f=6&t=32669 I am 100% you know about iconGravity and how to use it: fear not, I do not doubt you for a moment. I do, however, have my doubts about some programmers and develop

Re: radiobuttons, checkboxes and icongravity

2019-06-02 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 02.06.2019 um 11:42 schrieb Richmond via use-livecode > : > > I'm sorry, I forgot to post the link to the stack: > http://forums.livecode.com/viewtopic.php?f=7&t=32668 thank you, I know the icongravity porperty and how to use it. I was only surprised that the IDE does not pro

Re: radiobuttons, checkboxes and icongravity

2019-06-02 Thread Richmond via use-livecode
ge box, since there is no popup for icongravity in the inspector for radiobuttons and checkboxes, I dared to think this might not be allowed for these kind of buttons. My fault, so extraordinary sorry! 8-) OK, message box works, so this may mean that this feature just did not make it into the IDE, rig

Re: radiobuttons, checkboxes and icongravity

2019-06-01 Thread Klaus major-k via use-livecode
not try the message box, since there is no popup for icongravity in the inspector for radiobuttons and checkboxes, I dared to think this might not be allowed for these kind of buttons. My fault, so extraordinary sorry! 8-) OK, message box works, so this may mean that this feature just did not make it

Re: radiobuttons, checkboxes and icongravity

2019-06-01 Thread Richmond via use-livecode
at which point the icon moved to the centre-bottom of the radiobutton. Here's a pretty picture and a wee stack as "proof-of-pudden." Yours aye, Richmond. On 1.06.19 18:40, Klaus major-k via use-livecode wrote: Hi friends, anyone knows why we cannot set the icongravity for radiobutt

radiobuttons, checkboxes and icongravity

2019-06-01 Thread Klaus major-k via use-livecode
Hi friends, anyone knows why we cannot set the icongravity for radiobuttons and checkboxes? Is this an HIG thing? Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please

black border around checkboxes when hilited

2017-07-21 Thread Bob Sneidar via use-livecode
Hi all. I think I asked this before. A new checkbox on a Mac works as expected, but for some reason at some point certain checkboxes get a black line border around them when hilited. It's as though they are getting the focus in Windows, only Mac buttons cannot get the focus. So I look

Re: DataGrid Checkboxes

2015-03-06 Thread JB
Thanks for the info and link, Dave. It helps a lot. John Balgenorth On Mar 6, 2015, at 6:23 AM, Dave Kilroy wrote: > Hi John > > Sure you can checkboxes in datagrid tables - but you have do a little more > work to set them up - see > http://lessons.runrev.com/m/datagrid/

Re: DataGrid Checkboxes

2015-03-06 Thread Dave Kilroy
Hi John Sure you can checkboxes in datagrid tables - but you have do a little more work to set them up - see http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns Dave - "The difference between genius and stupidity is; genius has its limits." - Alber

DataGrid Checkboxes

2015-03-05 Thread JB
The lesson for working with dataGrid checkboxes ask you to select Form. Can you only add checkboxes to the Form and not the table style of dataGrid? John Balgenorth ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

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 - rad

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 fe

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 imag

Re: Checkboxes

2014-05-05 Thread Dar Scott
was for >> multiple states. A segmented control, a table, etc. are all differing >> visual representations of the same thing, but the way the behavior is >> described can vary, and as we have seen with mobile, the appearance can >> change, too. Checkboxes still check...for now

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
n was for > multiple states. A segmented control, a table, etc. are all differing > visual representations of the same thing, but the way the behavior is > described can vary, and as we have seen with mobile, the appearance can > change, too. Checkboxes still check...for now, but Jo

Re: Checkboxes

2014-05-05 Thread Mike Kerner
s. A segmented control, a table, etc. are all differing visual representations of the same thing, but the way the behavior is described can vary, and as we have seen with mobile, the appearance can change, too. Checkboxes still check...for now, but Jony Ive, or the lead designer from any

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
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 then had to unlearn some things > for FORTRAN. I recall a similar thing with the con

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

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

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 __

Checkboxes

2014-05-03 Thread Peter Bogdanoff
I am almost embarrassed to ask this question... set the hilite of button "check" to true Should not that check the checkbox? It does sort of set the hilite property, but not visually. I thought it did from the early days of Hypercard. It doesn't in 6.3.1 (and 6.5.2). Am I senile? Or d

Re: Counting the number of checkboxes...

2014-04-21 Thread Gerry
Late to this party but I would have thought that the simplest solution was to have a field on one of the cards that has 0 in it at the start. Then in each check box button have a script that simply adds 1 to the value in that field when the check box is clicked on, and subtracts 1 from the fiel

Re: Counting the number of checkboxes...

2014-04-21 Thread Dave Kilroy
-- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Counting-the-number-of-checkboxes-tp4678483p4678501.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runr

Re: Counting the number of checkboxes...

2014-04-20 Thread Charles Szasz
Peter, You suggestion not only is faster but also works better than using controls in the repeat script. I found that using controls does not work with more than 16 checkboxes. In my sample stack, the script using control works but there are only four checkboxes. Thanks! Charles Szasz csz

Re: Counting the number of checkboxes...

2014-04-20 Thread Peter Haworth
uot;Card_B" then add 1 to tTotal >end repeat > >put tTotal into fld "countField" of card "Card_A" >-- OR maybe store in a custom property untill needed > end mouseUp > > …and it does work OK. In this case the count will always be up-to-date &g

Re: Counting the number of checkboxes...

2014-04-20 Thread Charles Szasz
Paul, Your script perfectly! Thanks so much! I was working on a repeat loop but you saved me a great deal of time. And I had to have this before tomorrow! Thanks again! Dave, thanks for taking time to offer a scripting solution. I tried Paul’s script before trying yours. I will take a look

Re: Counting the number of checkboxes...

2014-04-20 Thread Paul Hibbert
o fld "countField" of card "Card_A" -- OR maybe store in a custom property untill needed end mouseUp …and it does work OK. In this case the count will always be up-to-date with each checkbox change even if the user changes his/her mind and un-checks a previously checked c

Re: Counting the number of checkboxes...

2014-04-20 Thread Dave Kilroy
re & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Counting-the-number-of-checkboxes-tp4678483p4678490.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list us

Counting the number of checkboxes...

2014-04-20 Thread Charles Szasz
I have 28 checkboxes on two cards. I need to count the total number of checkboxes checked by the user. I have throughout the archives and could not find an example of how to do this. Anybody have a suggestion on how to script this? Charles Szasz csz...@mac.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 th

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
otally untested but I think would work in principle. Pete lcSQL Software <http://www.lcsql.com> On Fri, Aug 31, 2012 at 11:54 AM, Charles Szasz wrote: > I know this has been done before but in previous cases discussion involved > two or more columns. My situation does not require mu

Checkboxes in a scrolling field.

2012-08-31 Thread Charles Szasz
I know this has been done before but in previous cases discussion involved two or more columns. My situation does not require multiple columns. Does anybody have a good idea on how to implement checkboxes in a scrolling field? Thanks for your time! Charles Szasz csz...@mac.com