Search found 809 matches

by marksmithhfx
Tue May 02, 2023 11:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to distinguish between label and fields
Replies: 28
Views: 38980

Re: How to distinguish between label and fields

If using locktext isn't enough you can check for three properties that all labels have: locktext = true autohilite = false traversalon = false A field that has all three of these property values is likely to be a label. There are exceptions, a locked field with the last two properties set to true a...
by marksmithhfx
Thu Apr 06, 2023 11:39 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Answer file with multiple types [SOLVED]
Replies: 7
Views: 8190

Re: Answer file with multiple types

here I've added the tags because this populates the popup menu in the OS's open dialog with text. At least that's how I understand it ;) That's a lot to say about a tiny feature, but hopefully other new users may find this helpful in the future!! S. Nice to see such detailed replies Stam. Hopefully...
by marksmithhfx
Mon Apr 03, 2023 3:04 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Answer file with multiple types [SOLVED]
Replies: 7
Views: 8190

Re: Answer file with multiple types

Klaus' answer is still the correct one if you want to show multiple filetypes at the same time, but if you only want to show one type that the user chooses, the return-delimited list is the way to do it... Just FYI... Hi Stam, wasn't exactly sure what you meant by "return-delimited list" for showin...
by marksmithhfx
Thu Mar 30, 2023 2:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: toggle between browse and pointer
Replies: 7
Views: 4926

Re: toggle between browse and pointer

on a Mac I use command + option + tab to toggle between "browse" and "pointer" mode. Press command + option key with the thumb and the index finger hits the tab-key. It does strain your keyboard a bit (had a broken command-key on my previous keyboard...) Kind regards Bernd Bernd, I somehow missed t...
by marksmithhfx
Wed Mar 29, 2023 9:04 am
Forum: Talking LiveCode
Topic: PolyGrid Direct Cell Editing?
Replies: 16
Views: 10555

Re: PolyGrid Direct Cell Editing?

I had not tried this and Andreas is correct, i tried this and while maybe there is a more direct way, it worked. put the pgColumns of widget "PolyGrid1" into tArray put "left" into tArray["3"]["ContentAlignment"] set the pgColumns of widget "PolyGrid1" to tArray thanks Andreas, and thanks Mark for ...
by marksmithhfx
Tue Mar 28, 2023 8:12 pm
Forum: Talking LiveCode
Topic: PolyGrid Direct Cell Editing?
Replies: 16
Views: 10555

Re: PolyGrid Direct Cell Editing?

Hello Stam, I was not aware it had to be a zip file. I am attaching the sample i built. Hope it is helpful. thanks! Nice demo stack Lance. In your travels through the polygrid documentation have you found anything to set the column alignment in script? I have tried pgContentColumnAlignments with no...
by marksmithhfx
Thu Mar 23, 2023 9:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to distinguish between label and fields
Replies: 28
Views: 38980

Re: How to distinguish between label and fields

A label is a non-editable field. Lots of other ways to handle this too, but that one distinction is simple and universal; see the lockText property. Thank you Richard. I had been looking for that distinction and since lockText is not a property I ever mess with this should work perfectly for distin...
by marksmithhfx
Wed Mar 22, 2023 3:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: toggle between browse and pointer
Replies: 7
Views: 4926

toggle between browse and pointer

I know you can toggle between the two modes using ⌘0 and ⌘9 but this requires two hands to do. Is there anyway to do this with 1 hand (preferably left)... or to modify the command key choices? I'd happily give up 1 and 2 from the View menu (very rarely do I use those).

Mark
by marksmithhfx
Wed Mar 22, 2023 2:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message sent when object placed onto card
Replies: 56
Views: 13297

Re: Message sent when object placed onto card

Klaus wrote:
Wed Mar 22, 2023 1:36 pm
Yep, but I'm Klaus! 8)
Well then, thank you Klaus :D
by marksmithhfx
Wed Mar 22, 2023 1:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message sent when object placed onto card
Replies: 56
Views: 13297

Re: Message sent when object placed onto card

Hm, macOS 12.6.3 I can "Save as..." in PREVIEW!? Then I selected JPEG as format and dragged the "Quality" slider until it showed ca. 220 KB as target filesize. Hi Richmond, I just tried your little Preview trick and it worked. Thanks for suggesting that. I much prefer images inline myself (I just w...
by marksmithhfx
Mon Mar 20, 2023 5:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message sent when object placed onto card
Replies: 56
Views: 13297

Re: Message sent when object placed onto card

richmond62 wrote:
Mon Mar 20, 2023 5:42 pm
The limit is about 256 KB.
Thanks
by marksmithhfx
Mon Mar 20, 2023 5:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message sent when object placed onto card
Replies: 56
Views: 13297

Re: Message sent when object placed onto card

Klaus wrote:
Mon Mar 20, 2023 3:04 pm
Then I selected JPEG as format and dragged the "Quality" slider until it showed ca. 220 KB as target filesize.
BTW, do you know what the image size limit is for posting on here? I just realised the 28 KB ones I downloaded are just thumbnails, not the size of the images you posted.

Mark
by marksmithhfx
Mon Mar 20, 2023 5:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message sent when object placed onto card
Replies: 56
Views: 13297

Re: Message sent when object placed onto card

Klaus wrote:
Mon Mar 20, 2023 3:04 pm
Hm, macOS 12.6.3
I can "Save as..." in PREVIEW!?
I'm only at 12.5.1 so maybe something to look forward to :D
by marksmithhfx
Mon Mar 20, 2023 2:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message sent when object placed onto card
Replies: 56
Views: 13297

Re: Message sent when object placed onto card

I did not have any problems downloading and opening the images from your Dropbox on my Mac!? I opened them in PREVIEW and saved as JPG, so the filesize went down. Remarkable. Did you use "Export..." (my Preview doesn't have a Save As... option) and what settings did you use? I could'nt get the imag...
by marksmithhfx
Mon Mar 20, 2023 12:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message sent when object placed onto card
Replies: 56
Views: 13297

Re: Message sent when object placed onto card

Mark; can you please post your images inwith the body of a message as . . . . Hi Richmond, Sorry about that, when I tested after posting them they just popped open for me so maybe that had something to do with them being in my own dropbox acct. Generally my images are too big to post here (these 2 ...

Go to advanced search