Setting Focus to a field on the form using AppForge We are using AppForge(Crossfire) in VB to develop an application for the SmartPhone. When the first screen loads, none of the fields on the screen is selected or has focus and the tab controls and thumbwheel do not work. We are basically stuck with an application that we can't access except for the menu commands. I tried using the .focus and .select methods but get the following error message: Error Code -2147467259 when I try to run the application on the smartphone. I tried to use canselect and canfocus to set the controls but get error messages when I try to compile the code in Appforge(Crossfire). Does anyone have experience with Appforge, and if so, what code can I add to the application that will allow me to set the focus to the first field on the screen? Thanks. |