Binary01 Active Member Licensed User Longtime User Jun 7, 2014 #1 Hi, I use label in my app. label has word wrap as default. How to disable word wrap in label? Thanks.
Hi, I use label in my app. label has word wrap as default. How to disable word wrap in label? Thanks.
udg Expert Licensed User Longtime User Jun 7, 2014 #2 I didn't test it, but try Code: Copy R.Target = your_label R.RunMethod2("setSingleLine", True, "java.lang.boolean") ps: you need the Reflection library.. Upvote 0
I didn't test it, but try Code: Copy R.Target = your_label R.RunMethod2("setSingleLine", True, "java.lang.boolean") ps: you need the Reflection library..
J JonRubin Member Licensed User Longtime User Nov 13, 2014 #4 Since I am faily new to B4A could someone please show me how to define "R" in the above example..... Thank you in advance! Follow-up... Never mind... figured it out... Dim R As Reflector Upvote 0
Since I am faily new to B4A could someone please show me how to define "R" in the above example..... Thank you in advance! Follow-up... Never mind... figured it out... Dim R As Reflector
Gary Milne Active Member Licensed User Longtime User Nov 3, 2015 #5 udg said: I didn't test it, but try Code: Copy R.Target = your_label R.RunMethod2("setSingleLine", True, "java.lang.boolean") ps: you need the Reflection library.. Click to expand... Your latin signature line is not quite correct. Astra is stars, astronomy, astrology etc. So the translation would be something like Through difficulties to the stars. Good saying all the same. Just FYI. Upvote 0
udg said: I didn't test it, but try Code: Copy R.Target = your_label R.RunMethod2("setSingleLine", True, "java.lang.boolean") ps: you need the Reflection library.. Click to expand... Your latin signature line is not quite correct. Astra is stars, astronomy, astrology etc. So the translation would be something like Through difficulties to the stars. Good saying all the same. Just FYI.
udg Expert Licensed User Longtime User Nov 3, 2015 #6 Hi Gary, you are correct. Literally "astra" means stars. But it was used with the meaning of "high achievement, glory.." by authors like Virginio (Aeneid : Sic itur ad astra) and Seneca (Hercules furens: Non est ad astra mollis e terra via). Something similar (per ardua ad astra) is used by the Royal Air Force, Great Britain. Me, (a lot) more humbly, stretched its meaning to "success" to honor who, honestly and hardly working day by day, reaches any kind of success. I'm not new to (very) open translations. Back in high-school days I did it regularly with teachers, for the most part, appreciating my efforts to render the text a bit more "modern". Anyway, thank you for your comment. I really appreciated you took the time to read and comment on my signature. BTW, did you read the "like" and "donation" part too? Just kidding! Upvote 0
Hi Gary, you are correct. Literally "astra" means stars. But it was used with the meaning of "high achievement, glory.." by authors like Virginio (Aeneid : Sic itur ad astra) and Seneca (Hercules furens: Non est ad astra mollis e terra via). Something similar (per ardua ad astra) is used by the Royal Air Force, Great Britain. Me, (a lot) more humbly, stretched its meaning to "success" to honor who, honestly and hardly working day by day, reaches any kind of success. I'm not new to (very) open translations. Back in high-school days I did it regularly with teachers, for the most part, appreciating my efforts to render the text a bit more "modern". Anyway, thank you for your comment. I really appreciated you took the time to read and comment on my signature. BTW, did you read the "like" and "donation" part too? Just kidding!