Klaus,
I had already looked through these documents but never saw where the names of these properties. I'm assuming Horizontal Alignment can be changed through program code like Text and other properties can.
Mahares,
Yes that's what I'm looking for but I'm wanting to change the property "Horizontal Alignment" of a Label from "CENTER_HORIZONTAL" to "LEFT" dynamically within the logic. Most of the time during the execution of this activity I want "CENTER_HORIZONTAL" for this one Label's text but I do have a case where I want that Label's text temporarily
left-justified.
The problem is I can't find what name to use in my code for the Label property Horizontal Alignment.
The alignment in Android is called Gravity !
So you can change this propety, as already mentioned by Mahares, with Label1.Gravity = xxx
xxx can be any combination of the Gravity object !
If you write in the IDE Label1.Gravity = Gravity. the inline help will show the different possibilities !
You can also combine two values like : Label1.Gravity = Bit.OR(Gravity.CENTER_VERTICAL, Gravity.CENTER_HORIZONTAL)
Klaus,
I see. Odd to my thinking. Thanks for the answer.
Back to my other question: where are these properties documented so that I can find out about things like that. For instance, what if I wanted to change the Vertical Alignment? Where can I read to find that? I looked in both the Beginner and User's Guide but couldn't find anything like that.