Search found 145 matches
- Fri Oct 15, 2021 9:40 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: stack size
- Replies: 17
- Views: 7762
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:/...
- Thu Oct 14, 2021 6:03 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: stack size
- Replies: 17
- Views: 7762
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...
- Thu Oct 14, 2021 6:00 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: stack size
- Replies: 17
- Views: 7762
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
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
- Tue Oct 12, 2021 9:59 am
- Forum: Talking LiveCode
- Topic: Saving img to mySQL
- Replies: 16
- Views: 13053
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...
- Mon Oct 11, 2021 5:16 pm
- Forum: Talking LiveCode
- Topic: Saving img to mySQL
- Replies: 16
- Views: 13053
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
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
- Mon Oct 11, 2021 4:04 pm
- Forum: Talking LiveCode
- Topic: Saving img to mySQL
- Replies: 16
- Views: 13053
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...
- Wed Oct 06, 2021 1:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Warning dialog after each lesson
- Replies: 6
- Views: 2913
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...
- Wed Sep 29, 2021 6:30 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: empty revErrorDisplay
- Replies: 8
- Views: 3886
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
Elanor
- 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: 9810
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
Elanor
- 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: 9810
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
Click on the small circle and drag it and it, it should follow the large circle.
Elanor
- Fri Aug 20, 2021 9:53 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Code not working on Android Device
- Replies: 21
- Views: 10525
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...
- Thu Aug 12, 2021 9:30 am
- Forum: Talking LiveCode
- Topic: Will Dropbox library be impacted?
- Replies: 2
- Views: 2051
- Thu Aug 12, 2021 9:27 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Update variables on standalone remotely
- Replies: 7
- Views: 3651
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...
- 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: 2956
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...
- Thu Jul 08, 2021 9:24 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: *bMyVar
- Replies: 7
- Views: 3153
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...