Search found 145 matches

by elanorb
Fri Oct 15, 2021 9:40 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: stack size
Replies: 17
Views: 6833

Re: stack size

Yes, absolutely, it is just one option. Richmond has given an example of laying out the controls in code, we also have a couple of lessons that might be helpful in addition to that example. https://lessons.livecode.com/m/4071/l/23843-how-to-manage-and-position-objects-when-a-stack-is-resized https:/...
by elanorb
Thu Oct 14, 2021 6:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: stack size
Replies: 17
Views: 6833

Re: stack size

Sorry, I just noticed fullScreenMode had already been suggested! Hi All, I have the same goal for iPad. You may use fullscreenMode if each control doesn't move. If some controls move, you have to set the loc of each control regarding screenrect. Best regards Jean-Marc The lesson might still be helpf...
by elanorb
Thu Oct 14, 2021 6:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: stack size
Replies: 17
Views: 6833

Re: stack size

Hi,

You might want to look at the fullScreenMode property. This lets you set the full screen scaling mode of your stack.

There is a lesson here

https://lessons.livecode.com/m/4069/l/1 ... ll-devices

I hope that helps.

Elanor
by elanorb
Tue Oct 12, 2021 9:59 am
Forum: Talking LiveCode
Topic: Saving img to mySQL
Replies: 16
Views: 10227

Re: Saving img to mySQL

Hi Simon, I am not totally clear on what you are trying to achieve, how are you downloading the BLOB? Are you doing it in LiveCode and trying to display it in an image control? If you are doing it some other way I would think you would need to create a file of the same type as the original image, PN...
by elanorb
Mon Oct 11, 2021 5:16 pm
Forum: Talking LiveCode
Topic: Saving img to mySQL
Replies: 16
Views: 10227

Re: Saving img to mySQL

Hi Simon,

The column names don't need single quotes, sorry I should have noticed that.

https://www.w3schools.com/sql/sql_insert.asp

Also double check that the variables you are using have the expected values in them.
Elanor
by elanorb
Mon Oct 11, 2021 4:04 pm
Forum: Talking LiveCode
Topic: Saving img to mySQL
Replies: 16
Views: 10227

Re: Saving img to mySQL

Hi Simon I think you need to use placeholders to work with binary data e.g. revExecuteSQL gConnectionID, "INSERT INTO images('TimeStamp', 'imagename', 'image') VALUES (CURRENT_TIMESTAMP, :1, :2)", "tImageName", "*btData" or perhaps revExecuteSQL gConnectionID, "INSERT INTO images('TimeStamp', 'image...
by elanorb
Wed Oct 06, 2021 1:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Warning dialog after each lesson
Replies: 6
Views: 2636

Re: Warning dialog after each lesson

Hi, I can recreate this issue here so I have reported a bug. https://quality.livecode.com/show_bug.cgi?id=23365 The interactive tutorial seems to be trying to re-enable the PDF widget when the tutorial is finished, but this widget is only available with the Pro addon, so it can't be re-enabled. Than...
by elanorb
Wed Sep 29, 2021 6:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: empty revErrorDisplay
Replies: 8
Views: 3574

Re: empty revErrorDisplay

I have seen this too, you can sometimes see the actual error by setting the global gRevDevelopment variable to true from the Message Box before opening your stack.

Elanor
by elanorb
Mon Sep 20, 2021 4:44 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to constrain position of dragged graphic to path of a circle?
Replies: 18
Views: 8567

Re: How to constrain position of dragged graphic to path of a circle?

Oh yes! That is probably when the mouse is on the centre line, so deltaX is 0, I must not have swirled my mouse enough to catch it!

Elanor
by elanorb
Mon Sep 20, 2021 4:10 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to constrain position of dragged graphic to path of a circle?
Replies: 18
Views: 8567

Re: How to constrain position of dragged graphic to path of a circle?

This question inspired me to try out the trig I have not used for a long time! Is this the kind of thing you are looking for?

Click on the small circle and drag it and it, it should follow the large circle.

Elanor
by elanorb
Fri Aug 20, 2021 9:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Code not working on Android Device
Replies: 21
Views: 9427

Re: Code not working on Android Device

Hi There are some features in Indy and Business that are not available in Community. The main ones are tsNet, merg extensions and setting passwords on your stacks. You can see the differences between the Editions here https://livecode.com/products/livecode-platform/pricing/ However these features wo...
by elanorb
Thu Aug 12, 2021 9:30 am
Forum: Talking LiveCode
Topic: Will Dropbox library be impacted?
Replies: 2
Views: 1864

Re: Will Dropbox library be impacted?

Hi Simon

Could you report this at

https://quality.livecode.com/

Thanks

Elanor
by elanorb
Thu Aug 12, 2021 9:27 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Update variables on standalone remotely
Replies: 7
Views: 3361

Re: Update variables on standalone remotely

Hi Trevix Even though tVar contains the name of a global variable LiveCode doesn't know that is what is being referred to so it will just update the contents of tVar. You can get the result you want using a do statement e.g. do ("put" && TheMessage["DATA"][tKey] && "into" && tVar) That should update...
by elanorb
Tue Jul 20, 2021 10:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Encrypt with password - whole tab greyed out
Replies: 3
Views: 2751

Re: Encrypt with password - whole tab greyed out

Hi There is a note in the Stack Files section of this lesson that might be helpful. https://lessons.livecode.com/m/4603/l/685074-the-standalone-application-settings Note: If iOS or Android are selected in the Standalone Builder settings, the Stacks pane is grayed out. To work around this and passwor...
by elanorb
Thu Jul 08, 2021 9:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: *bMyVar
Replies: 7
Views: 2857

Re: *bMyVar

Hi Mark Ah, I should have read the other two before posting, they both refer to "*b". So, either two ways of doing it or a bit of an oversight in revExecuteSQL. M I went to report a bug about the revExecuteSQL entry and it has already been reported. By me, so I should have remembered :) https://qual...

Go to advanced search