Page 1 of 1

Beta FNX

Posted: Tue Mar 16, 2010 12:38 pm
by Mel
When trying to use the beta version I find that I can only use the "Help" button once and then only when I first start.  If I type anything or even look at "Help" when I start I cannot go back to it if I need to refer to it.  Has anyone else had this problem.  If so is there a work-around.

Mel...

Beta FNX

Posted: Wed Mar 17, 2010 7:21 am
by PaPi
Yes, I have too...
PaPi

Beta FNX

Posted: Fri Mar 19, 2010 12:05 pm
by Mel
Hi Papi, I was looking into this last night (for me, I am GMT-5), and I had it work right for a few times.? I have looked at the sorcre code for the editior, but I am afraid that I can`t figure out what is happening.? API calls are still a great mystery to me.? Maybe Marco can give us some help when he has the time.

Mel....

Beta FNX

Posted: Sun Mar 21, 2010 4:22 pm
by Marco
Hi, I think i found a solution for it,

put this code somewhere at the top of the program:

Declare HtmlHelp as "HtmlHelpA" of "hhctrl.ocx"
  hwnd As Long
  pszFile As String
  uCommand As Long
  dwData As Long
end declare

If that is don replace the sub help with this:

sub help
  htmlhelp.hwnd=f.hwnd
  htmlhelp.pszfile="fnxbasichelp.chm"
  htmlhelp.execute
end sub

This is an api function special to open help files.
I hope this will help
best regards

Beta FNX

Posted: Sun Mar 21, 2010 7:42 pm
by Yam
This will work if the Editor and Examples folder is in
the same dir. as your compiler :

Declare HtmlHelp as "HtmlHelpA" of "hhctrl.ocx"
hwnd As Long
pszFile As String
uCommand As Long
dwData As Long
end declare

` replace your sub help with this:

sub help
htmlhelp.hwnd=f.hwnd
if htmlhelp.pszfile="..fnxbasichelp.chm" then
htmlhelp.execute
else htmlhelp.pszfile=".fnxbasichelp.chm"
htmlhelp.execute
end if
end sub
:-*

Beta FNX

Posted: Mon Mar 22, 2010 11:24 am
by Mel
Thanks everyone.  I will give these a try and let you know how they work out.
Mel...

Beta FNX

Posted: Tue Mar 23, 2010 11:40 am
by Mel
Sorry, neither solution worked for me.? I could look at the help file as many times as I wanted when I first open FNX, but if I loaded a file to work on I could not see the help file.

Mel....