Probably it is a better idea to change the cursor to what you want FIRST, and then set the lockCursor to true SECOND.
Click on the big hand!
Search found 8658 matches
- Wed May 08, 2024 3:24 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Cursor visibility problem
- Replies: 12
- Views: 353
- Wed May 08, 2024 3:01 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 3
- Views: 47
Re: What is up with "lock Cursor"?
This works equally well with mouseEnter in the field script.
- Wed May 08, 2024 2:57 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 3
- Views: 47
Re: What is up with "lock Cursor"?
Dunno: this works:
-
-
Clicking on the 'Paw', and away you go.
Code: Select all
on mouseUp
set the cursor to 1003
set the lockCursor to true
end mouseUp
Clicking on the 'Paw', and away you go.
- Wed May 08, 2024 1:39 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Cursor visibility problem
- Replies: 12
- Views: 353
Re: Cursor visibility problem
I wonder why?Custom cursor images must contain three colors: black, white, and a transparent color.
- Sun May 05, 2024 7:40 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Unusual Refresh Problems with Mac standalone
- Replies: 18
- Views: 1593
Re: Unusual Refresh Problems with Mac standalone
It's not a problem that I've ever encountered with any of my Mac standalones that employ multiple cards. My Devawriter, which has 51 cards at the moment, has never, over 14 years of development and deployment, had this problem. Oh, and Klaus: sorry, I don't pay for anything with Deutsch Marks, only...
- Sat May 04, 2024 6:58 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 715
Re: Exporting text to SVG
However, I have no wish to display SVG images in a browser, I might want to import SVGs as vector objects to use as, say, scaleable icons/buttons.
- Sat May 04, 2024 3:26 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 715
Re: Exporting text to SVG
I have just used this service: https://www.vertopal.com/ to produce an SVG image from my text (which is far, far inferior to what LiveCode is pumping out): - Screenshot 2024-05-04 at 17.23.28.png - Opening that file in a text editor I can see why it is "what it is": " Created by potrace 1.16, writte...
- Sat May 04, 2024 3:09 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 715
Re: Exporting text to SVG
I have downloaded a free SVG image from the internet that CAN be imported into LiveCode: - Screenshot 2024-05-04 at 17.02.57.png - Beetle.svg.zip - Examining that image in a text editor I notice the signal difference between it and my exported SVG image is that it contains this text at the start: <!...
- Sat May 04, 2024 2:52 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 715
Re: Exporting text to SVG
I have a feeling that the SVG parsers in the browser and Inkscape are reading the WIDTH of the image wrongly. - SVG from Text 2.livecode.zip - I am now going to "fool around" with image widths . . . on mouseUp set the width of fld "f1" to ((the formattedWidth of fld "f1") * 1.5) set the height of fl...
- Sat May 04, 2024 2:45 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 715
Re: Exporting text to SVG
I mucked around with the code so that an SVG is exported that is not automatically 800 x 800 pixels: on mouseUp set the width of fld "f1" to the formattedWidth of fld "f1" set the height of fld "f1" to the formattedHeight of fld "f1" set the left of fld "f1" to 40 set the top of fld "f1" to 40 -- pu...
- Sat May 04, 2024 11:20 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: OpenCard to control?
- Replies: 24
- Views: 626
Re: OpenCard to control?
Well . . .Of course, I could send "openCard" to the desired controls by "send" or "dispatch" but I don't know which controls should receive this message.
Code: Select all
on OpenCard
send "mouseUp" to button "myButton"
end openCard
- Sat May 04, 2024 10:37 am
- Forum: Off-Topic
- Topic: ChatGPT and LiveCode
- Replies: 33
- Views: 267891
Re: ChatGPT and LiveCode
My recent experience with A.I. did not make me think of "reconstituted pork products", it made me think rather more of pot-au-feu , especially the way certain "sausages" kept coming round again and again, and the way that the robot forgot I didn't like "mushrooms" (over use of quotation marks), yet ...
- Sat May 04, 2024 10:31 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 715
Re: Exporting text to SVG
Ouch: that is a bit disappointing.
But that problem is NOT, Bernd, with your code, it has more to do with the fact that LiveCode can only adequately render a subset of all SVG files.
Thank you very much indeed for both your help and your forbearance.
- Sat May 04, 2024 10:27 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 715
Re: Exporting text to SVG
Screenshot 2024-05-04 at 12.24.35.png - Browser: - Screenshot 2024-05-04 at 12.24.27.png - No 'font retention'. Inkscape: - Screenshot 2024-05-04 at 12.25.18.png - That is wonderful insofar as re both size and font everything looks the way it did in the text field. Now. let's try and import that SV...
- Sat May 04, 2024 10:20 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 715
Re: Exporting text to SVG
Well, that certainly works for Bulgarian:
- -
Although 'font retention' does not seem to be there when I open the result in Inkscape:
- -
Let's live dangerously and try a bit of Sanskrit in Devanagari script:
-
- -
Although 'font retention' does not seem to be there when I open the result in Inkscape:
- -
Let's live dangerously and try a bit of Sanskrit in Devanagari script:
-