[quote=285748:@Martin Fitzgibbons]
Back to my original thread, can you colour row backgrounds (or make the row background transparent) also it was mentioned you can put an image in the background but I am not sure how that would be useful does anyone have a screen shot of that implemented ?[/quote]
You are asking the wrong question… the answer to “Can you…” is YES, you can…
but the question you should be asking is
“given the current state of ‘Xojo for iOS’, how difficult is it to [insert you favorite topic here], and how many declares will it take?”
In other iOS programming environments (which I have had my hand slapped for mentioning)… it is insanely easy to change the color of just about any aspect of any section of any control (usually in as little as one line of code)
Xojo iOS has without a doubt the main qualities of Xojo, which are ease of use, and speed of development. That part is not in contest.
Quickly wrapping up a prototype or a mockup is a good way to see how the UI flows and that is easy to do.
Problems quickly show up when one wants for instance to port an app, say, from Desktop. Very quickly, one will discover that properties that were considered a given for over a decade and a half are simply not there. Background color is just one of those things. Another is events, as I pointed out, like mouseDown and MouseUp. Call them PointerDown and PointerUp, they are only available in Canvas whereas in Desktop or Web they are on every control. Talking about canvas, one would say, OK, I need PointerDown, I am going to place the canvas under TextField and am fine like in OS X. No, the TextField consumes the event, instead of transmitting it to parent. These are examples of things sorely missing, which have been filed as feature requests since December 2014, and completely ignored.
The worse is yet to come. After you ascertained the UI flows and you want to use iOS common specificities, such as pinch and zoom or other gestures, it is simply not there. Say you want to take pictures : declares. Accelerometer ? Declares. Printing ? Plugin. Access the phone contacts ? Forget it. Dial ? Are you joking ? And so on, and so on. Xojo iOS simply does not support the most common iOS hardware. I compared Xojo iOS to Fisher Price roller skates, and I persist. Sure, you can roller skate. But as soon as you know how to glide, you get stuck.
I have been a staunch supporter of Xojo Desktop and Web for close to 15 years. Sorry, but iOS is definitely not up to specs. Sure, with a lot of efforts, one can conjure up an app. But the fact that Xojo blatantly ignored all feature requests for close to two years is beyond worrisome, not to mention disappointing for those who bought the license, expecting regular progress (as promised upon release). He who loves well chastises well. I am not close to relent.
The code at the top of this entry works only in iOS simulator and not on a iOS device like iPhone or iPad with iOS 10.x. This line switches the background to green:
dim myUIColorObject As ptr = decl_GetColorWithRGBA(theUIColorClassRef, (33.0/255.0), (209.0/255.0), (57.0/255.0), 1.0)
Background color in simulator:
Background color on iOS device (iPhone 6s with iOS 10.3.2: