Massimo Belgrano wrote:
> 
> will be possible thing like follow?
> |cTopic|
> IF( Empty( cTopic := ::GetText() ), cTopic := ::GetWord(.F.) ),
> HtmlHelpTopic( ::hWnd, "C:\xHB\Doc\xHarbour Language Reference Guide.chm",
> cTopic )
> 

It is possible, and with the current version you have.

1. Activate "Tools & Utilities" Dialog
2 Enter name : Chm Help with Chapter and Anchor
           Command Line : hh.exe
           Parameters: d:/hbide/hbide.chm::introduction.htm#mytest
3. <Add>, select and execute.

It does exactly what you want.
Now, how to invoke from within editor ( to be implemented ) :
   In the "Shortcuts" define one as

|cTopic|
IF( Empty( cTopic := ::GetText() ), cTopic := ::GetWord(.F.) ),
::exeTool( "hh.exe", "C:\xHB\Doc\xHarbour Language Reference Guide.chm" +
"::" + cTopic )

and it will execute. 

Just tested through "Tools & Utilities" interface and it works.

   

-----
     enjoy hbIDEing...
        Pritpal Bedi 
http://hbide.vouch.info/
-- 
View this message in context: 
http://n2.nabble.com/SF-net-SVN-harbour-project-14294-trunk-harbour-tp4874664p4879270.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to