Rich text

ciginfo

Well-Known Member
Licensed User
Longtime User
Bonjour,

Is it possible to edit Rich text on a label?

Ex : Ceci est un Rich text.
 

moster67

Expert
Licensed User
Longtime User
I think he wants a Richtext-control which can be found in Desktop-enviroments (this control will permit you to format the text therein by using bold, understrike, colour etc - formating-styles typical of a wordprocessor).

In mobile-development, I haven't found any control which does that, neither in Windows Mobile nor in Android (unless I am blind). I hope I am wrong though.
 
Upvote 0

moster67

Expert
Licensed User
Longtime User
Using html by any chance?

Sent from my HTC HD2 using Tapatalk
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
I think he wants a Richtext-control which can be found in Desktop-enviroments (this control will permit you to format the text therein by using bold, understrike, colour etc - formating-styles typical of a wordprocessor).

In mobile-development, I haven't found any control which does that, neither in Windows Mobile nor in Android (unless I am blind). I hope I am wrong though.

For WinMob we have the ritch text control dll courtesi of AGraham...see the dll listing for refrence and easy finding...in the B4Ppc sub-forum, of course
 
Upvote 0

moster67

Expert
Licensed User
Longtime User
For WinMob we have the ritch text control dll courtesi of AGraham...see the dll listing for refrence and easy finding...in the B4Ppc sub-forum, of course

Nope, the Richtext-control Agraham made is only for Desktop. Agraham made a "pseudo" richtext-control for Windows Mobile which I used in application of mine and it was called HTML-panel if I recall correctly.

Once I've done a proof of concept library I'll decide how to present the formatting interface

Then I wish you the best of luck. If you can do it, it could become another exclusive feature of Basic4Android.
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
If you can do it, it could become another exclusive feature of Basic4Android.
Actually no, it's native to Android. You can display formatted text defined at compile time in XML and if you can do that you can do it programmatically at runtime. The way to do it programmatically is however somewhat (i.e. totally) undocumented in the official documentation. Just like OpenGL there is a list of objects and methods to call but no description of what they actually do so it's a bit of Googling, a bit of reverse engineering and a bit of trial and error to get it working.
 
Upvote 0
Top