I have a multi-form Windows Mobile 6 app where the initial form (Startup object ) is called Form1.
On Form1 I complete a few combo boxes - user Name - Sales area - Date etc
From there I use Radio buttons to load other forms ... and it all worked fine
BUT ....
I decided to put a pretty new form on the front - use that as the Startup object - and from that load Form1 - and then process as before.
The other forms can no longer pick up the fields from Form1 !!!
I use a simple format on (say) Form2 ........
and it worked fine - but now doesn't !!Code:me.tbUsername.text = Form1.cbUsername.text
Unless I reset Form1 as my Startup object .. and then it is a happy bunny again ??
Is this a known problem please ?
PS I tried changing the code to use a return call ..
with an appropriate ...Code:Public Function showDistrict() As String Return Me.cbDistrict.Text End Function
on form2Code:Me.tbDistrict.Text = Form1.showDistrict()
it did not help ?




Reply With Quote