Search found 13509 matches

by Klaus
Sun Mar 03, 2024 8:34 pm
Forum: Made With LiveCode
Topic: UPDATE! New plug-in for LC
Replies: 5
Views: 4568

Re: UPDATE! New plug-in for LC

Hi Al,

that will be in the same stack, it is a plug-in, and I am currently testing the new version, see screenshot.
Will inform you here once it is ready.

Best

Klaus
by Klaus
Sun Mar 03, 2024 11:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2658

Re: Click and/or drag ?

As I can see from his script above, he already did it. :)
by Klaus
Sun Mar 03, 2024 10:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2658

Re: Click and/or drag ?

richmond62 wrote:
Sat Mar 02, 2024 5:47 pm
Indeed that works. 8)

The disadvantage with your stack is that the end-user gets visual feedback when s/he performs a drag, but the "drag image" does not remain on the target.
Well, I wanted to leave a tiny bit of work up to you! 8)
by Klaus
Sat Mar 02, 2024 8:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2658

Re: Click and/or drag ?

And here a slightly enhanced version, where you can drag and drop anything onto anything.
Except the behavior button and the info field at the bottom.
by Klaus
Sat Mar 02, 2024 5:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2658

Re: Click and/or drag ?

Here a really working stack, sorry for the others...
by Klaus
Sat Mar 02, 2024 5:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2658

Re: Click and/or drag ?

Drag the button on the topleft (just as its LABEL say) onto one of the colored graphics...
A dragimage might clarify this.
by Klaus
Sat Mar 02, 2024 5:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2658

Re: Click and/or drag ?

My stack is quite rudimentary, you should add a "dragimage" (screenshot of the control to be dragged).
Seems to be the only way of "faking" a LC "grab me" kind of action.
by Klaus
Sat Mar 02, 2024 4:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2658

Re: Click and/or drag ?

Works fine here, but maybe a little different than what you think! :-)
See example stack...

EDIT: Removed the silly stack
by Klaus
Sat Mar 02, 2024 1:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2658

Re: Click and/or drag ?

Maybe you can create and use a "on dragenter" behavior for your 96 objects?
by Klaus
Fri Mar 01, 2024 12:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2658

Re: Click and/or drag ?

Because DRAGDELTA will affect the DRAG commands but not the GRAB command.
These two are completely different things.
by Klaus
Thu Feb 29, 2024 8:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to change order of fields in a group?
Replies: 13
Views: 608

Re: How to change order of fields in a group?

It is NEVER too formal to do an introduction! 8)
by Klaus
Thu Feb 29, 2024 6:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to change order of fields in a group?
Replies: 13
Views: 608

Re: How to change order of fields in a group?

... But I would recommend naming your fields, something like "myField1, myField2..." You can also do this by script: ... put the num of flds of grp "MainGroup" into num_fields repeat with i = 1 to num_fields set the name of fld i of grp "MainGroup" to ("field" & i) ... Late you can iterate throiugh...
by Klaus
Thu Feb 29, 2024 5:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to change order of fields in a group?
Replies: 13
Views: 608

Re: How to change order of fields in a group?

Hi mrmopo, They are labelled 1 to 30... Do you mean they are named 1, 2,...30? If yes, DON'T! Use a least one character as the first character of the name, maybe f1, f2 etc. For LC -> field "1" is the same as -> the first field on the card -> field 1 I am not sure i understand your question/problem!...
by Klaus
Wed Feb 28, 2024 5:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2658

Re: Click and/or drag ?

Hi Zax, not sure I understand your intention with the "mousedown" handler. on mouseDown ## At this point noone will know if the user wants to drag the object or not! if it is a "real" drag then -- prepare the drag action, with for example changing the icon of the button... grab me // drag end will b...
by Klaus
Wed Feb 28, 2024 4:18 pm
Forum: Talking LiveCode
Topic: text conversion?
Replies: 30
Views: 1252

Re: text conversion?

Hi Joe,

makes sense, since this
-> mb_convert_encoding(...,'UTF-8','ISO-8859-1')
is the replacement for
-> utf8_encode

Best

Klaus

Go to advanced search