[futurebasic] [FB] Scrolling problem

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 1998 : Group Archive : Group : All Groups

From: rbryce@... (Bob Bryce)
Date: Thu, 10 Dec 1998 09:26:14 -0600 (CST)
Since I posted my question re. lack of smooth scrolling
in my FB Help File it occurred to me that this is probably
a continuation of my love/hate relationship with Forward
Referencing.

My DoDialog function is in an INCLUDE file.
For the programs where scrolling in the Help dialog
works correctly DoDialog is in MAIN - no problem.

As usually, my first effort at forward referencing
the call to FN DoHelp (_hDialogEvt, evnt,id) resulted
in crashing my program.

So far gHelpPtr& is DIM'd in Help.GLBL
In Help.INCL I changed FN DoHelp() to FN pDoHelp ().
At the foot of Help.INCL I added;
'-----------Function addresses--------
gHelpPtr& =@FN pDoHelp

I added FN DoHelp (_hDialogEvt, evnt,id) USING gHelpPtr&
to my Project.INCL file. Actually the compiler complained
and I tried DEF FN DoHelp (msgFlag, evnt, id) instead.

Recompiled, and Crashed.

Since FN DoHelp (_hDialogEvt, evnt,id) is called from DoDialog
in an INCLUDE file I believe that I have to forward reference it.

Will try and find my error in forward referencing
sometime today.

Has anyone else gone thru this with the FB Help File stuff??
Has anyone else experienced a similar problem with lack of
smooth scrolling int he Help File?

Thought I'd keep you up to date on my efforts.

Bob bryce