Posts by Heber • 181 points
7 posts
-
2
votes3
answers3378
viewsA: How to generate firemonkey android PDF report?
One way to work with mobile reports is to leave everything to the server. By the way, this is good practice for everything in the mobile world. Whenever you need something that requires processing,…
-
0
votes1
answer513
viewsA: Firemonkey file sharing
There’s a project on github that does exactly what you need, follow the link below. It is a process that receives as parameter the emails of the recipient/copy, subject, text of the email and…
-
0
votes2
answers2393
viewsA: How to customize Listview at runtime?
Philip, Regarding the compiler’s Warning, "Finddrawable" is used when you already have the Text component on the screen and want to fetch it to change some property. Ex:…
-
2
votes3
answers2828
viewsA: How to change the color of a Text from a Listview?
Philip, There is a way to change the properties of each text component (or any other) within a listview. To do this, you loop your list view and for each item in the list, search for the…
-
1
votes2
answers1880
viewsA: Delphi XE Firemonkey mobile app - How to resize an image?
Evandro, I had this same problem in an app I was developing. I allowed users to send a photo to put as their profile image. How I resolved? 1) I put a Tlayout in the form with Center alignment and…
-
9
votes3
answers13945
viewsA: How to compare the difference between two dates in Delphi?
Only one precaution to take: if you use Strtodate('20/02/2014') and the user’s machine is default dates in English, it will give error. Whenever comparing dates in string format, you should invert…
-
1
votes1
answer2722
viewsA: Scroll through a matrix and validate repeated numbers
Before the vector[counter1][counter2] receives the bet, make a loop (to...knife) to verify that the informed bet is already inside the vector. If so, ask the user to enter the number again.…