Search found 55 matches

by egolombek
Sat Jul 25, 2020 7:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scale to Window
Replies: 9
Views: 417

Re: Scale to Window

Just found a genius solution in a 2014 forum post. The script now works! on reStack if "reStack" is in the pendingMessages then exit reStack put 1282 into sw put 650 into sh put the left of this stack into l put the top of this stack into t put the scaleFactor of this stack into ss put the width of ...
by egolombek
Sat Jul 25, 2020 7:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scale to Window
Replies: 9
Views: 417

Re: Scale to Window

These are some interesting approaches. Here's what I came up with: on resizeStack put 1282 into sw put 650 into sh put the left of this stack into l put the top of this stack into t put the scaleFactor of this stack into ss put the width of this stack into ww put the height of this stack into hh put...
by egolombek
Fri Jul 24, 2020 12:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scale to Window
Replies: 9
Views: 417

Re: Scale to Window

I'm not talking about handhelds, for the reason you mentioned -- screensize IS the window.

I'll check out the scalefactor property. Thanks. I have used it before so that I can see a project where the stack is larger than my screen, but haven't used it from a script.
by egolombek
Fri Jul 24, 2020 8:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scale to Window
Replies: 9
Views: 417

Scale to Window

Hello all!

Setting the fullScreenMode to exactFit is nice for scaling an application to the full screen, but is there an equivalent way to scale it to the window. I.e. when the window is resized, it scales to the window?
by egolombek
Thu Jul 09, 2020 4:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Arrays with Android
Replies: 2
Views: 144

Arrays with Android

I have encountered a very strange problem and wondering if anyone has insight. I set up a global array in openCard (that lists the RGB values of colors I want to use, not that that is relevant). I call on those values in field scripts later on. This all works well on my desktop. But, when I test it ...
by egolombek
Sun Jul 05, 2020 12:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: More Hebrew Problems
Replies: 20
Views: 691

Re: More Hebrew Problems

I appreciate all of the responses. I never figured out why the print to pdf was not working. But, I dropped the print to pdf, and just used print card and bizzarely it works (and prints to a pdf!). I have no explanation at all, but I am happy. As for the pngs, I will need to figure this out one day....
by egolombek
Fri Jul 03, 2020 6:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: More Hebrew Problems
Replies: 20
Views: 691

Re: More Hebrew Problems

Thank you all for the idea of snapShot -- a new command to me. I have been playing with it, and the quality of the snapshot is low. Writing and graphics are all pixelated. Is there a setting to increase the quality? there seems to be something called metaData but I cannot find any examples of how to...
by egolombek
Thu Jul 02, 2020 2:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: More Hebrew Problems
Replies: 20
Views: 691

Re: More Hebrew Problems

Yes, cd fld is definitely a habit / relic from my Supercard days (remember that?) :-) But still works. Basically I have not programmed since then so that gives you a sense of how long it has been since I have touched programming.

print break is apparently the command to print a page break.
by egolombek
Thu Jul 02, 2020 11:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: More Hebrew Problems
Replies: 20
Views: 691

Re: More Hebrew Problems

No, I probably haven't. This is what I am doing: open printing to pdf prntPath if the result is "Cancel" then answer warning "Printing Canceled" else repeat with i=1 to 34 -- number of students put "print"&i into printi if cd fld "studentName" of cd printi of stack "printMenus" is not empty then pri...
by egolombek
Thu Jul 02, 2020 10:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: More Hebrew Problems
Replies: 20
Views: 691

More Hebrew Problems

So... I am having more Hebrew problems. I am trying to print a card to pdf, but the print fails if there is Hebrew in a field on the page. It prints in English until it gets to the Hebrew and then it terminates the print job. But, if I there is no Hebrew on the page, it prints without a hitch. Any i...
by egolombek
Wed Jul 01, 2020 8:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Icons and scrollbar with Android
Replies: 12
Views: 621

Re: [SOLVED] Icons and scrollbar with Android

To clarify, by "nicer than the one that was included" I mean nicer than the one built in to LiveCode. Users have made some very nice progress bars as well. If you wish to see and use mine, please see the attached. Progress Bar Example.zip And, here's a version that uses property triggers - nice sinc...
by egolombek
Wed Jul 01, 2020 6:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Icons and scrollbar with Android
Replies: 12
Views: 621

[SOLVED] Icons and scrollbar with Android

Well, problems solved... In terms of the icons, I was talking about the built-in icons. I guess those images need to be copied, but I never figured out how to do that. So, I made a new set of icons which I imported as controls. It works, and actually my icons are nicer :-) In terms of the scrollbar,...
by egolombek
Wed Jul 01, 2020 6:12 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Android and Unicode
Replies: 20
Views: 983

Re: Android and Unicode

Well, after help from this forum and a lot of trial and error, I have solved the Hebrew problem! For anyone who wishes to know what you need to do: 1. Find the original font file (.ttf). Do not take the file from C:\Windows\fonts because for some reason, even though the fonts look like they are stor...
by egolombek
Tue Jun 30, 2020 11:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Icons and scrollbar with Android
Replies: 12
Views: 621

Re: Icons and scrollbar with Android

Yah, that is a super easy work-around. Why didn't I think of that? :D

Do you have an idea of why icons do not appear in Android? Unfortunately, I have used icons quite a bit, and don't love the idea of changing them all to graphics.
by egolombek
Tue Jun 30, 2020 11:15 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Icons and scrollbar with Android
Replies: 12
Views: 621

Re: Icons and scrollbar with Android

Hmmm.... I have been using it as a progress bar, not as a scrollbar. But interestingly the LC dictionary does say it should work with Android. Other ideas for a progress bar?

Go to advanced search