home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.paradox      To crash or not to crash, asks Borland      9,834 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,397 of 9,834   
   Egbert Babst to All   
   Re: Calling CHM Help File From a Form   
   12 Aug 08 09:31:44   
   
   432564cf   
   From: EgbertBabst@BabstSoft.com   
      
   Hi,   
   try this:   
   ("stHilfePfad"=path to the help-file   
   "Relations1.chm"= the actual chm-file,   
   siID=index for the relevant chapter of the file)   
      
   >>>   
   var   
      stHilfePfad    String   
   endVar   
      
   stHilfePfad=getAliasPath("Work")+"\\Hilfe"   
      
   if siID>0 then   
      execute("hh.exe -mapid " + string(siID) + " " +   
   stHilfePfad+"\\Relations1.chm")   
   endIf   
   <<<   
   HTH   
   Egbert   
      
    schrieb im Newsbeitrag   
   news:d7ec5ce5-9ec9-425c-9613-d4f7f35b86a7@m45g2000hsb.googlegroups.com...   
   > How do I do this?   
   >   
   > I have no problem calling a .HLP file using the following:   
   >   
   > method keyPhysical(var eventInfo KeyEvent)   
   > var   
   >  theKey String   
   > endvar   
   > if eventInfo.isPreFilter() then   
   > ;// This code executes for each object on the form   
   >             theKey = eventInfo.vChar()  ; tell me what key was   
   > pressed   
   >  if theKey = "VK_F2" then   
   >                         disableDefault   
   >                           helpShowIndex("R:\\Clients\\PDOXHLP.hlp")   
   >                        endif   
   > else   
   > ;// This code executes only for the form   
   > endIf   
   > endMethod   
   >   
   > However, the HTML based help (which uses a .CHM file) is so much   
   > better and does not work using the method above.   
   >   
   > I've searched this usenet and found only one instance of this topic   
   > but was unsuccessful in using the execute() command.  Can someone help   
   > by detailing how I can accomplish this?   
   >   
   > Thank You!!   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca