Greetings to all. And once more, I find myself asking a newbie question and thanking you in advance for answering it.
Hypothetical Case:
Multiple panels in an activity.
The top of the panel (or Left) varies depending upon a condition.
I want to set the value for top once based on the condition;
e.g., If A then panel_top=80 (Dim panel_top as Int)
Then, I assign panel_top to the layout variable top for all the panels.
Question:
I normally use dip for assigning this type of value; e.g., P.top=80dip.
The layout variable top is an integer.
How can I combine P.top=panel_top & "dip"?
Best regards.
Hypothetical Case:
Multiple panels in an activity.
The top of the panel (or Left) varies depending upon a condition.
I want to set the value for top once based on the condition;
e.g., If A then panel_top=80 (Dim panel_top as Int)
Then, I assign panel_top to the layout variable top for all the panels.
Question:
I normally use dip for assigning this type of value; e.g., P.top=80dip.
The layout variable top is an integer.
How can I combine P.top=panel_top & "dip"?
Best regards.