Easily customize your mobile UI in XE6
For example, if you have a TSpeedButton selected with StyleLookUp = actiontoolbutton, you will see a Tint property in the Object Inspector called IconTintColor since this style element consists of a glyph.
For text based buttons, such as StyleLookUp = listitembutton, you can change the TintColor and also the Font Color. In the case of iOS 7, this will adjust the outline color of the transparent button (and fill color when the button is clicked) and on Android, it will change the fill color. For your font, you can also adjust the color depending on the button state (i.e. focused, pressed etc.).
Using the new Tint support allows you to quickly change the user interface theme of your mobile applications without editing style files.
Friday, 23 May 2014
I would recommend looking at the following videos:
You might also find these links useful:
Sunday, 25 May 2014
Hi Sarina, I am enjoing your tutorials and i have tested all of then and they work very well. I´m using the trial XE6 and i am loving it!
I have a piece of code using "BackendFiles" with Kinvey that makes an upload of a photo file. The piece of code is this:
Stream := TFileStream.Create('c:\temp\foto.jpg', fmOpenRead);
This works ok!! The file goes to server. But how can I download the file back to my computer using Baas components? I use Backandfiles again? how?
If am not boring you could you please help me?
Thanks so much and Best Regards
Tuesday, 27 May 2014
Glad to hear you like the tutorials. Below is some sample code to show you how to upload an image, download the image and then assign the image.
Upload Image Code:
procedure TDataModule1.UploadImage(const AFiles: TBackendFilesApi; const AStream: TStream;
const ARecipe: TRecipe);
AFiles.UploadFile('recipeimage.png', AStream, 'image/png', LFile);
ARecipe.ImageURL := LFile.DownloadURL;
ARecipe.ImageFileID := LFile.FileID;
Download Image Code:
procedure TDataModule1.DownloadImage(const ARecipe: TRecipe);
if ARecipe.ImageURL '' then
LStream := TMemoryStream.Create;
// Ignore download errors
Assign Image Code:
procedure TRecipe.SetImage(const AStream: TStream);
if FBitmap = nil then
FBitmap := TBitmap.Create;
Please login first in order for you to submit comments
- Page :
I saw a video her and David I, where you explained about using to TPath for IOS and Android, using XML, CDS and SQLITE.
But I do not remember where, do not know if it was in coderange, you remember this video, you know where can I find it?