Re: Enhanced IDE
- Posted by Mike777 <anon4321 at gmail??om> Jan 22, 2008
- 515 views
Judith Evans wrote: > > Mike777 wrote: > SNIP > > > Are you using IDEv1.0.3a? > > > > I'm pretty sure I am. > Go to IDE "About" Menu. The third line shows the version of IDE you are using. > Also when you start IDE the splash screen shows the version. The latest > released > IDE is v1.0.3a. > > Unfortunately, after I saved the project, exited and > > came back, I can no longer replicate it. Don't worry, it will come back > > relatively > > soon and I'll see what I can report. > > > > Best I can tell, the problem comes up when I load a different window. > > Sometimes > > (and I haven't identified exactly when) the loading of a different window > > causes > > one routine or another to disappear. > Do you mean while Code Editor is in view you add a different window to Design > and lose data in Code Editor or do you mean when switching, say Window1 to > existing > window Window2? > Either way I'll make some tests. The latter. > > Once that has happened, if I don't immediately > > exit I can find the problem like the one I just reported happening. Of > > course, > > to make the system run, I have to restore the lost routine. That just > > leaves > > me in the inconsistent state that allows the above described error, though. > > > > For example, I have three windows (which you know from before). When > > switching > > from the main window to my secondary window, it will sometimes come up > > showing > > the code for my main window's onOpen routine in the onOpen routine for the > > secondary > > window. Complete with the first line (procedure ....) and the last line > > (set > > handler). > OK, I'll check this also. Great. > > When that happens, I can go into a backup and get the code for the > > secondary window's onOpen routine and the IDE can create an exw which will > > run > > (not necessarily properly, but it will run). I've got enough going on in my > > project now that for it to run means that almost everything is in the right > > place. However, when a crash takes place I get strange results, as reported > > above. > > > > Of course, the "solution" is to exit immediately after restoring the > > obliterated > > code and come back in, which should at least eliminate the inconsistent > > state. > > But I want to keep the inconsistent state around long enough to give you > > enough > > information to try and figure out what is going on! A definite catch 22, > > huh? > > > > BTW, I couldn't find "CODE EDITOR MENU OPTIONS". Did you mean "Options > > Configure > > IDE"? > > No. In Code Editor there is a Menu "Options" and when clicked one of the > menuitems > is "When Changing Controls." Your selection (or default option, determines > which > event to go to when changing controls from the List next to the editing panel. I can't imagine that setting being anything other than Find Event from Prior Control. It is most useful to me with that setting. Mike