Search found 8 matches

by uniqueiosfreak
Sat Dec 08, 2012 8:32 pm
Forum: iOS Deployment
Topic: Act on clicking a disabled field
Replies: 5
Views: 3482

Re: Act on clicking a disabled field

Thanks again, know it should work helped me look elsewhere. I've commenting stuff out and putting breakpoints in, I found I'd accidentally renamed my first field so my code couldn't write data to it (then failed on all after that too).

All sorted :)
by uniqueiosfreak
Sat Dec 08, 2012 7:57 pm
Forum: iOS Deployment
Topic: Act on clicking a disabled field
Replies: 5
Views: 3482

Re: Act on clicking a disabled field

Doh, looks like I can refresh my field contents now with automatic data due to them being locked. Is there way to unlock a field using code?

Then I could build it into my refresh function to unlock them all, refresh and lock them afterwards again.
by uniqueiosfreak
Sat Dec 08, 2012 7:30 pm
Forum: iOS Deployment
Topic: Act on clicking a disabled field
Replies: 5
Views: 3482

Re: Act on clicking a disabled field

Thanks Sturgis, I couldn't get it to work when it was enabled but I've just discovered I need to tick the list behaviour properties. Now that's working your reply is very helpful as it will tackle the next challenge. I like your last option the best for my needs, to lock the field. Thanks again :)
by uniqueiosfreak
Sat Dec 08, 2012 6:58 pm
Forum: iOS Deployment
Topic: Act on clicking a disabled field
Replies: 5
Views: 3482

Act on clicking a disabled field

This has been driving me mad for a couple of hours. I have a gride made up of fields and I'd like to change the field background colour when it's clicked. The field is disabled but not locked. I've tried a mouse up handler and I can't even get an alert to trigger when I click the field. On mouseUp /...
by uniqueiosfreak
Sun Jan 16, 2011 5:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: IOS - Set visible to True for an Image Control
Replies: 2
Views: 3332

Re: IOS - Set visible to True for an Image Control

Answering my own post as hit on it through pure luck playing about:

set the visible of image ID "5548" to "false"
by uniqueiosfreak
Sun Jan 16, 2011 5:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: IOS - Set visible to True for an Image Control
Replies: 2
Views: 3332

IOS - Set visible to True for an Image Control

I would be very grateful if someone could offer an example line of code for setting the visible on an Image Control to true using the image ID number? I have 50 Image Control's on screen and want to make some invisible to shown other images behind them at certain times. I've set all my image IDs to ...
by uniqueiosfreak
Sat Jan 15, 2011 7:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: IOS - Images only display border
Replies: 3
Views: 5107

Re: IOS - Images only display border

Thanks Guys, import as control has my image showing correctly now. Much appreciated. I just need to replicate it now. Basically, I have a land image and a water image and based on my 2d array, I'm laying my images down in a tile fashion to create a game level layout. Sorry for initial explanation an...
by uniqueiosfreak
Sat Jan 15, 2011 5:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: IOS - Images only display border
Replies: 3
Views: 5107

IOS - Images only display border

Newbie here, C and Realbasic experience - but less time now days and my brain gets sore faster! - hence Rev. I've created a 2d array to hold my game field map and I have letters in my array based on which I'll add pre-created icon images to the screen to build my levels. The problem I have, is that ...