Author Topic: F1 help button  (Read 4306 times)

themagicm

  • Newbie
  • *
  • Posts: 17
F1 help button
« on: October 18, 2006, 09:48:06 AM »
Is this supposed to work?  Just curious because I thought somewhere on the web I saw it working but mine does not.  1.9.44 is my version.

Linux Basic

F1 help button
« on: October 18, 2006, 09:48:06 AM »

timothy

  • Sr. Member
  • ****
  • Posts: 319
Re: F1 help button
« Reply #1 on: October 18, 2006, 11:17:34 AM »

I think there is a bug in 1.9.44 for the F1 key. I guess this results from changes to the code that decides on the default browser to use for the Gambas help. Test the following path file:///usr/local/share/gambas2/help/tree/index.html in your browser. Then setup a bookmark.
42 - So long and thanks for all the fish.

themagicm

  • Newbie
  • *
  • Posts: 17
Re: F1 help button
« Reply #2 on: October 18, 2006, 11:41:45 AM »
yep..that works  thanks!

Joe1962

  • Newbie
  • *
  • Posts: 20
    • JJRWeb
Re: F1 help button
« Reply #3 on: October 18, 2006, 10:13:41 PM »
F1 and the help button work, you just need to set up your environment's $BROWSER variable correctly, or set the desired browser from the list in Gambas setup.

I posted about an environment problem on the gambas mailing list, I'll paste part of it here in case it applies to your case:

Quote
The Help menu wasn't working in 1.9.43 running on XFCE 4.4 RC1. It would work if Gambas was called from the console, but not from the XFCE menu. I figured that the run environment from the menu wasn't setting the $BROWSER from my $HOME/.bashrc for some reason, the fix was to create a file (I called it env.sh) in /etc/profile.d (has to be set executable) to set $BROWSER.

timothy

  • Sr. Member
  • ****
  • Posts: 319
Re: F1 help button
« Reply #4 on: October 19, 2006, 03:31:37 AM »

In the Gambas IDE select the Tools then Options… menu. On the General tab there is a Bowser option. If this is set to Default then F1 for help can behave as Joe explained above. Set this to the browser you want for displaying help and F1 should work.
42 - So long and thanks for all the fish.

themagicm

  • Newbie
  • *
  • Posts: 17
Re: F1 help button
« Reply #5 on: October 19, 2006, 10:16:33 AM »
that fixed it.. I set it as Firefox and viola.. thanks again!