-1
I have an Edit and next to it a Combobox. The idea is that Edit displays the registration id and combo the description. And when changing the combo option also change the id on Edit.
In the VCL to enter the description and the id like this:
Combo.AddObject('descricao',TObject (id))
But on Android this returns access Violation by data typing problems.
So my question is: how can I do this on Android?
I don’t remember what you call the term a(cho that is Typecast), but on Android this does not work, because in Tobject (id) you are passing an entire object and Android does not accept. This link is better explained https://forums.embarcadero.com/thread.jspa?threadID=105411
– Diego_F
Right, I ended up not testing on Android.
– andremiotto