Hi Matthew, why don't you create a separate project, with just the form you want in it, then save that as a .txt file, open it with notepad, and paste the code parts for the form into your main project (in the IDE)? Kind regards Thomas Am 01.07.2010 um 20:26PM schrieb matthew_mueller:
> I've got a project that did not have a form associated with it because there > is a Server process that feeds the screens to the device based on the users > input. > > I have a static form that displays a screen telling the user there was a > communication issue and asking if they would like to reconnect or exit. This > screen used to exist as a separate .nsb file that the main process would > Chain to, but with the the changes to CE 8, I've chosen to include it in the > main project instead of using a separate .exe > > I've added the form to the project, but now when I run the main program, the > form is displayed immediately instead of the 'formless' code executing. My > guess is the NS Basic runtime is looking for any Form definitions and > immediately executing the X_Show routine. I don't want this. > > I'm trying to avoid having a separate .nsb file, compiling that to an .exe > and then including that with my main project. > > Is there a way for me to see the Form code from the IDE without having to > save the project as a .txt? This is a real pain because after editing the > .txt file and then opening the .txt file in the IDE, the Project no longer > has my Modules or Project definitions so I need to re-configure that. > If I could see the code, I could remove the call to X_Show and call that only > when I want to. > > Or Is there a better way to do this? > > TIA, Matt. > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
