[futurebasic] [FB] Dialogs and COORDINATE WINDOW statement

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1999 : Group Archive : Group : All Groups

From: nidus@... (Chris Pereira)
Date: Tue, 25 May 1999 22:06:07 -0400
A while ago I was trying to figure out why the printed text in my
"About..." dialog's user item was not showing up. Here's the solution for
interested bodies:

The 'bug' was the position of my COORDINATE WINDOW statement. When I called
my dialog the first time, it was prior to my COORDINATE WINDOW statement,
so my text was not being drawn in the proper position with the PRINT%

   FN ShowAboutDialog
   WINDOW #1, blah, blah, blah

Calling my dialog after the COORDINATE WINDOW statement solved the problem:

   FN ShowAboutDialog
   WINDOW #1, blah, blah, blah

I sure hope that this solution will save someone some time sometime soon.