[futurebasic] Re: [FB] More questions -- opening Textedit from FB3, strip chart, buttons

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2002 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Mon, 11 Mar 2002 18:16:12 +0100
Frank Seipel wrote:
> 
> I have a program which generates datasets, which are over a page long.
> 
> I already have a subroutine to export data to an Excel file; is there
> a way I can make FutureBASIC OPEN the Excel file (or open a text file
> in TextEdit or SimpleText), while keeping FutureBASIC in control (or
> at least the program running, even if Excel or Textedit is in
> foreground)?  This would be most helpful, because it would allow
> printing the window, copying & pasting parts of the dataset, etc,
> without adding even more complexity and debugging to my FB project.
> Alternately, a subroutine the loads a text file and lets you scroll
> up and down through it in a window would be helpful.  I know there
> are demos of lists with FB R6, but I'm looking more for something
> that either loads a text file, or takes a large string, and simply
> lets me scroll through it.
> 
Frank,

Maybe you can have a look at the example called SimpleText2HTML II in
the Internet folder. The little demo uses Herbie's method that
consists of sending an odoc AppleEvent to the Finder. You could
possibly create your TEXT data file (that might include the graph
too as a PICT resource) and then open that file with SimpleText.

> I'm also interesting in the possibility of a "strip chart", basically
> a realtime graph.  I'm not sure how to do this; I want the window to
> show part of a plot, say, 15 min, over a dataset, of, say, a day, and
> update itself.  Would this be possible with a PICT bigger than the
> window?  If so, how would I add to the PICT as new data
> arrives/becomes available?
> 
I don't comprehend exactly the issue. But why don't you rebuild the
whole picture when new data are available?
-- 
Cheers,

Alain
------------------------------------------------------
                 Program different

                      E = FB^3

FutureBASIC^3 in Europe:  http://euro.futurebasic.com/
------------------------------------------------------