I am attempting to overlay a label (part of a self made datagrid) with an edittext control by copying the screen coordinates i.e.:
Dim TB As EditText
TB.Initialize ("Main")
Activity.AddView(TB, Comment0.Left, Comment0.Top, Comment0.Width, Comment0.Height)
(where Comment0 is an existing label)
Unfortunately this is not working with the edittext appearing about 15mm higher up the screen and 2mm to the left. I suspect that this may be because the views are held in a tabhost control - does this change the left and top coordinates and how do I correct them? :sign0104:
Tom
Dim TB As EditText
TB.Initialize ("Main")
Activity.AddView(TB, Comment0.Left, Comment0.Top, Comment0.Width, Comment0.Height)
(where Comment0 is an existing label)
Unfortunately this is not working with the edittext appearing about 15mm higher up the screen and 2mm to the left. I suspect that this may be because the views are held in a tabhost control - does this change the left and top coordinates and how do I correct them? :sign0104:
Tom