Search found 79 matches
- Mon Oct 22, 2012 10:04 pm
- Forum: Databases
- Topic: How Can I Save Changes To SQLite Database?
- Replies: 37
- Views: 29836
Re: How Can I Save Changes To SQLite Database?
I've no idea if this is the best way, but one way is not to use a record set (cursor). Instead, put the result of the query in an appropriate variable, such as an array and use that as the source for the next/back. When the user updates a record, update the variable contents after successfully updat...
- Mon Oct 22, 2012 7:15 pm
- Forum: Databases
- Topic: How Can I Save Changes To SQLite Database?
- Replies: 37
- Views: 29836
Re: How Can I Save Changes To SQLite Database?
First, let's presume you are only allowing updates here (not additions). If so, your updateRecord handler isn't a million miles off, but there's a few things to sort out. 1. Can the user change the name (the content of your txtName field)? If not, then this field should be locked, but if they can, t...
- Fri Oct 19, 2012 9:10 am
- Forum: iOS Deployment
- Topic: mobileControl message path
- Replies: 3
- Views: 2597
Re: mobileControl message path
As per the LiveCode iOS Release Notes, messages are sent to the object that created the iOS native object. For example, if you use a preOpenCard script to mobileControlCreate, then messages will be sent to the Card, so your handlers should be in the card.
Cheers,
Adrian
Cheers,
Adrian
- Thu Oct 11, 2012 10:20 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: [Solved] How to delete an arbitrary element from an array
- Replies: 27
- Views: 19053
Re: How to delete an arbitrary element from an array
If the task list were a simple variable with each task on a line, rather than an array, you could perhaps remove an item using Filter (filter gTaskList without gHighlightedLine)? Note that I'm new and not an expert, so this (a) may not suit your needs now (but is worth knowing for other applications...
- Sun Sep 23, 2012 10:07 pm
- Forum: iOS Deployment
- Topic: mergExt rebranding
- Replies: 27
- Views: 15185
Re: mergExt rebranding
ExpandCode for iOS, etc.
(Expandcode.com is available)
Cheers,
Adrian
(Expandcode.com is available)
Cheers,
Adrian
- Sat Sep 22, 2012 5:28 pm
- Forum: iOS Deployment
- Topic: mergExt rebranding
- Replies: 27
- Views: 15185
Re: mergExt rebranding
Since it speeds up development, how about:
Monte's Zoomer (for iOS, etc.)
Cheers,
Adrian
Monte's Zoomer (for iOS, etc.)
Cheers,
Adrian
- Sat Sep 22, 2012 5:10 pm
- Forum: iOS Deployment
- Topic: How to setup Xcode 4.5 to work with LC 5.5.1/5.5.2
- Replies: 15
- Views: 13545
Re: How to setup Xcode 4.5 to work with LC 5.5.1/5.5.2
Just to confirm that I've now gone through the process as originally posted and it all works for me. I did find that you need to point the Mobile Support to the Xcode app after downloading the simulators (even if you did it before).
Cheers,
Adrian
Cheers,
Adrian
- Thu Sep 20, 2012 10:16 pm
- Forum: iOS Deployment
- Topic: How to setup Xcode 4.5 to work with LC 5.5.1/5.5.2
- Replies: 15
- Views: 13545
Re: How to setup Xcode 4.5 to work with LC 5.5.1/5.5.2
Sorry, I'm away from my system for a few days. Did you follow everything in Sean's original post?
Cheers,
Adrian
Cheers,
Adrian
- Thu Sep 20, 2012 6:43 pm
- Forum: iOS Deployment
- Topic: How to setup Xcode 4.5 to work with LC 5.5.1/5.5.2
- Replies: 15
- Views: 13545
Re: How to setup Xcode 4.5 to work with LC 5.5.1/5.5.2
Point to the .app file (directory) in your Applications folder and LiveCode will find the stuff within.
Cheers,
Adrian
Cheers,
Adrian
- Thu Sep 20, 2012 6:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Dealing with numbers
- Replies: 5
- Views: 3385
Re: Dealing with numbers
If you make your fields iOS native ones (which means creating them via script), then you can define the default keyboard using keyboardType. See the LiveCode iOS Relelase Notes for details (under "Inut control - UITextField").
Cheers,
Adrian
Cheers,
Adrian
- Thu Sep 13, 2012 8:52 am
- Forum: MobGUI
- Topic: vScroll & native IOS scroller
- Replies: 9
- Views: 9166
Re: vScroll & native IOS scroller
Kenny, Have you checked the documentation at mobgui dot com? As well as the page for the scroller, check the page "New commands for iOS native controls", which shows how to set properties of the MobGUI controls. That is, how to set (and get) any of the native iOS properties, using MobGUI syntax. As ...
- Fri Sep 07, 2012 8:19 am
- Forum: iOS Deployment
- Topic: Compressed Sound in iOS Deployment?
- Replies: 4
- Views: 2950
Re: Compressed Sound in iOS Deployment?
Check out the iOS Release Notes for LiveCode. There are two ways of playing sound; a simple one and a multichannel one, giving more scope for control.
Cheers,
Adrian
Cheers,
Adrian
- Sun Sep 02, 2012 12:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Clearing a field
- Replies: 3
- Views: 4402
Re: Clearing a field
I'm not sure if I'm fully understanding what you are trying to do, but can't your first put just "put ... into", which will replace anything there? Then your second one can just "put ... after". That way there's no need to clear the field first.
Cheers,
Adrian
Cheers,
Adrian
- Sat Aug 18, 2012 5:46 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Inserting different field into different tables
- Replies: 3
- Views: 2659
Re: Inserting different field into different tables
Could you give us some more detail about ehat you are wanting to achieve? I am not sure what you are trying to do with the merge statement, where one would expect "values". If you build up the SQL statement string along the lines of Put "insert into table (col1, col2) values('" & the text of field1 ...
- Thu Aug 16, 2012 4:01 pm
- Forum: iOS Deployment
- Topic: MobGUI or tmControls?
- Replies: 10
- Views: 7008
Re: MobGUI or tmControls?
Good to know, thanks.
I've recently switched from MobGUI to nothing! It's not as hard as I had originally thought to do most of what it did, using the standard LiveCode tools and some appropriate icon images.
Cheers,
Adrian
I've recently switched from MobGUI to nothing! It's not as hard as I had originally thought to do most of what it did, using the standard LiveCode tools and some appropriate icon images.
Cheers,
Adrian