Beta FNX

In this category you can exchange your programming questions and solutions.
Post Reply
Mel
Posts: 32
Joined: Mon Dec 22, 2008 1:19 pm

Beta FNX

Post: # 634Post Mel
Tue Mar 16, 2010 12:38 pm

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...

PaPi
Posts: 114
Joined: Wed May 16, 2007 11:55 am

Beta FNX

Post: # 635Post PaPi
Wed Mar 17, 2010 7:21 am

Yes, I have too...
PaPi

Mel
Posts: 32
Joined: Mon Dec 22, 2008 1:19 pm

Beta FNX

Post: # 636Post Mel
Fri Mar 19, 2010 12:05 pm

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....

Marco
Site Admin
Posts: 246
Joined: Sat Sep 15, 2018 8:41 pm

Beta FNX

Post: # 637Post Marco
Sun Mar 21, 2010 4:22 pm

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

Yam
Posts: 11
Joined: Mon Apr 23, 2007 11:36 am

Beta FNX

Post: # 638Post Yam
Sun Mar 21, 2010 7:42 pm

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
:-*

Mel
Posts: 32
Joined: Mon Dec 22, 2008 1:19 pm

Beta FNX

Post: # 639Post Mel
Mon Mar 22, 2010 11:24 am

Thanks everyone.  I will give these a try and let you know how they work out.
Mel...

Mel
Posts: 32
Joined: Mon Dec 22, 2008 1:19 pm

Beta FNX

Post: # 640Post Mel
Tue Mar 23, 2010 11:40 am

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....

Post Reply