Search found 43 matches

by JereMiami
Thu Feb 25, 2021 1:59 pm
Forum: iOS Deployment
Topic: mobilepick more than one option at a time?
Replies: 8
Views: 1982

Re: mobilepick more than one option at a time?

I take it the answer to this was: No. You can only pick one selection.
by JereMiami
Fri Feb 19, 2021 10:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Groups forget who they are
Replies: 5
Views: 380

Re: Groups forget who they are

Thanks- that actually fixed it. I take it the order you add objects, such as groups, is group 1, group 2, etc ... even if you call them group "3", group "4", etc. I tend to number groups within a list of groups. But, knowing what you just told me, that helps a lot in avoiding or resolving that probl...
by JereMiami
Fri Feb 19, 2021 4:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Groups forget who they are
Replies: 5
Views: 380

Groups forget who they are

Probably long overdue for asking this, but sometimes LC tends to forget the name of a group or misidentifies it, particulalry when numbers are used. For instance, LC think grp "3" is grp "2"

It's probably some form of memory issue. So if I close and clear from memory, does this resolve this?
by JereMiami
Fri Jan 22, 2021 5:39 pm
Forum: LiveCode Builder
Topic: Community widgets
Replies: 67
Views: 49189

Re: Community widgets

Here's the script: if the environment is "mobile" then put specialFolderPath("resources") & "/images/" into tPath put the objectsImageList of widget "IconGrid" into tArray put "meals_image_01.jpg" into tArray["1"] put "meals_image_02.jpg" into tArray["2"] put "meals_image_03.jpg" into tArray["3"] pu...
by JereMiami
Fri Jan 22, 2021 4:19 pm
Forum: LiveCode Builder
Topic: Community widgets
Replies: 67
Views: 49189

Re: Community widgets

Anybody have any luck setting the imagesFolder property on the iconGrid widget (i.e., hhgrid) widget and/or setting the icons using objectsImageList in the slected imagesFolder? It works when I move images into the hhjpg/ folder, but if I try any of my own local folders, it crashes or just does not ...
by JereMiami
Tue Jan 19, 2021 3:20 pm
Forum: Android Deployment
Topic: mobilePickPhoto Save the Photo
Replies: 2
Views: 368

Re: mobilePickPhoto Save the Photo

Correct. Thanks so much. I totally forgot that it was read only. The following code successfully: (1) allows the user to select from the mobile album; (2) places the jpg image into an image object on the card; and (3) saves the image to the specialFolderPath("documents") folder in the standalone san...
by JereMiami
Tue Jan 19, 2021 2:59 am
Forum: Android Deployment
Topic: mobilePickPhoto Save the Photo
Replies: 2
Views: 368

mobilePickPhoto Save the Photo

After picking the photo from the android album or library, how do you save it to specialFolderPath("resources") or a subfolder therein, such as "images?" What am I missing here ... if the environment is "mobile" then mobilepickPhoto "album" if the result <> EMPTY then answer "Error:" && the result e...
by JereMiami
Thu Jan 14, 2021 4:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: mobileControlCreate "scroller" -- hold to select an object
Replies: 2
Views: 391

mobileControlCreate "scroller" -- hold to select an object

How can I differentiate a touch that should scroll the native android scroller as opposed to selecting an object within that native android scroller? mouseUp tends to select objects within the native scroller inadvertently mouseDoubleUp is tough because of how accurate you have to be on mobile to hi...
by JereMiami
Sat Jan 09, 2021 2:43 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: mobileControlCreate "input" - Setting the text to a field
Replies: 3
Views: 547

mobileControlCreate "input" - Setting the text to a field

This is android. I have been using regular text fields that on mouseDown, if the text field is not empty, it enables a button to submit the text. No problem. But ... I really like the native mobileControlCreate "input" widget. Mostly because of text correct, predictive text, and the ability to move ...
by JereMiami
Wed Dec 23, 2020 3:45 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Printing to pdf cuts off portion of card
Replies: 2
Views: 569

Re: Printing to pdf cuts off portion of card

I resolved this issue! Put a grc over the entire cd and voila:

--
on mouseUp
put specialfolderpath("documents") & "/lms.pdf" into tPDFPath
open printing to pdf tPDFPath
print this card into the rect of graphic "printArea"
close printing
end mouseUp
by JereMiami
Wed Dec 23, 2020 3:26 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Printing to pdf cuts off portion of card
Replies: 2
Views: 569

Printing to pdf cuts off portion of card

So I've had two posts with this whole printing to pdf thing on android. Overall, great results. 1) How do I get it to save to the document folder? And, Klaus totally answered that. 2) How do I display that pdf once it's saved? And, Bernard totally answered that. Now, one more and I think I am set. F...
by JereMiami
Tue Dec 22, 2020 9:24 pm
Forum: Talking LiveCode
Topic: Mobile Browser Widget Crashes
Replies: 2
Views: 448

Re: Mobile Browser Widget Crashes

It worked! Can't thank you enough.
by JereMiami
Tue Dec 22, 2020 1:22 am
Forum: Talking LiveCode
Topic: Mobile Browser Widget Crashes
Replies: 2
Views: 448

Mobile Browser Widget Crashes

This is for android. I have a pdf file called sample.pdf saved in specialFolderPath("documents"). I want to display it in the app. I suppose I have to use the browser widget. But, when I script: set the url of widget "browser" to specialFolderPath("documents") & "/sample.pdf" -or- set the url of wid...

Go to advanced search