Hi,
I meet strange things I never met before.
In my program all views are defined using the designer.
When I run the program in Debug mode from the PC all goes fine.
When I start that program on the Phone I get a message that various views should first be instialized.
When I run that program in Release mode from the PC all goes fine.
When I start that program on the Phone I get a message that various views should first be instialized.
Those error messages are given on a statement to set the (text) color of e.g. a EditText.
When I add initialization in the source, B4A protests, saying that initialization is already done as the views are added via the Designer.
May be wrongly, but I have used Generate Members for all views.
It is the first time I use Scripting in the Designer, as follows:
'All variants script
AutoScaleRate(0.3)
AutoScaleAll
What did I do wrongly?
Harry
I meet strange things I never met before.
In my program all views are defined using the designer.
When I run the program in Debug mode from the PC all goes fine.
When I start that program on the Phone I get a message that various views should first be instialized.
When I run that program in Release mode from the PC all goes fine.
When I start that program on the Phone I get a message that various views should first be instialized.
Those error messages are given on a statement to set the (text) color of e.g. a EditText.
When I add initialization in the source, B4A protests, saying that initialization is already done as the views are added via the Designer.
May be wrongly, but I have used Generate Members for all views.
It is the first time I use Scripting in the Designer, as follows:
'All variants script
AutoScaleRate(0.3)
AutoScaleAll
What did I do wrongly?
Harry
Last edited: