Re: Help File Maker
- Posted by Dan Moyer <danielmoyer at prodigy.net> Apr 11, 2007
- 503 views
Dan Moyer wrote: > > > The *very* nice looking "HelpFileManager" program by Roland Stowasser, > which looks like it can make pretty nice looking help files using > the Euphoria Data Base, doesn't seem to work under Win32Lib 0.60.6. > > When I put 0.59.01 in its folder, it worked. > > It also seems to have a bug in the "HelpWindow_onEvent" routine, > which allows user to move the divider bar to see more of the help treeview; > the fix appears to be to replace: > > info[1]=NULL > > with: > > equal(info[1],NULL) > > Dan Moyer It might help if I described better *how* it "doesn't seem to work" under Win32Lib 0.60.6, sigh. The program *itself* runs ok under Win32Lib 0.60.6; it's the HELP file *within* the "HelpFileManager" program that fails when the "Topic" menu-item under menu "Help" is clicked on, although the Help-Topic selection works fine under Win32Lib 0.59.01. The failure report points to: HFMHelp.ew:568 in procedure HelpContentsTreeView_onChange() subscript value 0 is out of bounds, reading from a sequence of length 0 at:
current = getIndex(HelpContentsTreeView) --Judith current -= offsetCurrent ToCi = current topic = "" setText(HelpText_RichEdit, "") rec_data = ToC[current][HelpText] --<--------- ERROR HAPPENS HERE -- and "current" = 0
The failure apparently originally starts at: HFMHelp.ew:294 in procedure HelpWindow_onOpen() at:
eraseItems(HelpItems_List)
Dan Moyer