Search found 6450 matches

by dunbarx
Tue Feb 18, 2020 1:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't place a group
Replies: 5
Views: 147

Re: Can't place a group

Jean-Marc. I know. I was trying to make the point that "placing" a group usually involves groups that will "work" together, in whatever way, and that if one wants to get that group to another stack, copying is the way to go, since there is no particular connection between groups that live in differe...
by dunbarx
Tue Feb 18, 2020 12:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't place a group
Replies: 5
Views: 147

Re: Can't place a group

Hi. The real point of the "place" command is usually (always?) about making copies of a group that have their sharedBehavior and backGroundBehavior set to "true". That is, groups that appear on multiple cards and share lots of properties. To use this command to make a copy of a group in another stac...
by dunbarx
Mon Feb 17, 2020 2:32 am
Forum: Off-Topic
Topic: Coming out as a Trans person.
Replies: 1
Views: 101

Re: Coming out as a Trans person.

Richmond.

Thank you for sharing, for your courage, and the trust you have in the members of this forum.

Please take comfort in that you will not have to change your personality, neither during your transition nor after.

Craig
by dunbarx
Mon Feb 17, 2020 2:23 am
Forum: Mac OS
Topic: setting the focus with keyboard property on a field
Replies: 25
Views: 3846

Re: setting the focus with keyboard property on a field

This has been discussed in the past. http://forums.livecode.com/viewtopic.php?f=7&t=33610&p=187670&hilit=32+monitor#p187670 The fix is to make sure that the tops of the two monitors are level with each other in the system monitor setup. To recap, I use a 32" monitor turned on its side that is only ...
by dunbarx
Sun Feb 16, 2020 5:19 pm
Forum: Mac OS
Topic: setting the focus with keyboard property on a field
Replies: 25
Views: 3846

Re: setting the focus with keyboard property on a field

Funnily enough, I stated much that a couple of years ago and had all sorts of people jump all over me . . .
But Richmond, you are so lovably jumpable. :wink:

Craig
by dunbarx
Sun Feb 16, 2020 5:17 pm
Forum: Mac OS
Topic: setting the focus with keyboard property on a field
Replies: 25
Views: 3846

Re: setting the focus with keyboard property on a field

@ Bogs. Thank for the support; that is indeed exactly what I thought, especially since that sort of question comes up regularly.

@mVillion. LC is not perfect. Neither am I. But I do at least see you appreciate the miracle. We can both live with that.

Craig
by dunbarx
Sat Feb 15, 2020 10:00 pm
Forum: Off-Topic
Topic: Getting Snakey
Replies: 22
Views: 384

Re: Getting Snakey

Richmond.

You posted an example above using "mod". "Div" is its cousin. They usually are used together. You knew the one but not the other????

Craig
by dunbarx
Sat Feb 15, 2020 6:24 pm
Forum: Mac OS
Topic: Saving textstyle property "link" to a file
Replies: 6
Views: 219

Re: Saving textstyle property "link" to a file

Hi.

If you were an avid HC user, you will soon be a far more avid LC user.

I was once a rabid HC loser. I am now an avid LC abuser.

Craig
by dunbarx
Sat Feb 15, 2020 6:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Value comparison of numbers and groups of chars
Replies: 3
Views: 158

Re: Value comparison of numbers and groups of chars

Hi. Operators, like ">", compare two values character by character, using the ASCII values at each step. That is why "b" is greater than "a", "5" > "4", and "abs" > "abc". The caseSensitive property is important if you compare "A" to "a", since "A" is ASCII 65, whereas "a" is ASCII 97. "Empty" has A...
by dunbarx
Thu Feb 13, 2020 9:20 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Multiple Conditionals on if statement?
Replies: 23
Views: 565

Re: Multiple Conditionals on if statement?

JackieBlue1970 says that: instead of if "Fld1" is empty... implying that works as he wanted. It cannot work at all. This is OK: if "" is empty then answer "What did you expect?" but this, nope: if "empty" is empty then answer ""Well, what did you expect?" This last is simpler to grok than the snippe...
by dunbarx
Thu Feb 13, 2020 8:26 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Multiple Conditionals on if statement?
Replies: 23
Views: 565

Re: Multiple Conditionals on if statement?

What Sparkout said.

Way, way back, because I thought it more compact for some reason, I used both quoted literals and also the same string for control names. These were usually related. There was a small benefit for me, keeping similar stuff in much the same place in a handler.

Don't.

Craig
by dunbarx
Thu Feb 13, 2020 12:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Answer dialog intermittently loses focus
Replies: 8
Views: 370

Re: Answer dialog intermittently loses focus

Bogs.

If you:

Code: Select all

ask "xyzzy"
you get a dialog with a blinking cursor. If you click somewhere inside that dialog (not in the field itself) or back on the card, your cursor remains blinking? And there is no change to the look of the dialog?

I remain unblinking.

Craig
by dunbarx
Wed Feb 12, 2020 10:57 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Multiple Conditionals on if statement?
Replies: 23
Views: 565

Re: Multiple Conditionals on if statement?

This harkens all the way back to HC, which vacillated between considering it a feature that an unquoted literal, would, eventually, as Klaus mentioned, be resolved into a, er, literal, or, a mild no-no. It is a terrible idea. I like to see my literals as literals, so I do not confuse them with varia...
by dunbarx
Wed Feb 12, 2020 9:35 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Multiple Conditionals on if statement?
Replies: 23
Views: 565

Re: Multiple Conditionals on if statement?

Hi.

No.

The correct syntax would be:

Code: Select all

 if fld "Field 1" is empty
You have to have a control reference, apart from however you, er, reference that control.

What you describe would throw an error.

Craig
by dunbarx
Wed Feb 12, 2020 9:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Answer dialog intermittently loses focus
Replies: 8
Views: 370

Re: Answer dialog intermittently loses focus

Are there other operating systems than Mac OS? If I open a dialog of either kind, and instead of dealing with it right away, click on the card, say, I am still in LC, but the dialog loses focus. You are right about the blocking thing, that is, I can do nothing until I go back and deal with it. So th...

Go to advanced search