Re: TZF - File Browser

"Chris Johnson (USA)" <[email protected]> Wed, 13 Aug 2003 15:59:35 -0400
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
Just make your own simple little notepad using a memo control.  Set the 
font to Courier 10 and that should do it.

HTH

cjUSA

On Wed, 13 Aug 2003 08:50:53 EDT, <[email protected]> wrote:

> In a message dated 08/13/2003 8:14:10 AM Eastern Standard Time, 
> [email protected] writes:
>
>
>> Bob,
>> I'm not offended but you misunderstood my question. I don't want to 
>> browse a database but an ASCII text file.
>> The basic problem is that I have a old DOS program that I am converting 
>> to Windows. The programs that generate all the reports are really 
>> complicated and use features of Borland Pascal 7.0 that I don't see in 
>> Delphi. Anyhow even if the features I used were in Delphi I don't want 
>> to rewrite them because 1) they work great in DOS 2) some are very 
>> complicated and I don't relish the idea of redoing them.
>> The reports do have an option to output to an ASCII text file. So what I 
>> want to do is write a front end in Delphi that will get the parameters 
>> such as date range, distributor and type of report for example and start 
>> the DOS program and pass the parameter in a file or as command line 
>> parameters.
>> I then want to load the ASCII file into a text browser where the user 
>> can view or print the file. I need a browse that will allow me to set 
>> the font to a fixed font to keep the column aligned, do a copy and 
>> paste, print and simple things like that. No editing allowed!
>> Phil
>>
>
> Phil,
>
> Would the richEdit not work?  You could put a print button on the form
> and call   richEdit1.Print('').
>
> The user can easily view the file.  You can set its font to Courier New, 
> which will nicely keep everything aligned.  You can do a copy and paste 
> and you can set it to readOnly:=True (property) which will
> prevent editing .
>
> I have recently found that you can make parts of the richEdit bold or any 
> other "normal" feature of a font (underline, italic, colors, etc).
> I am not accomplished with this part yet, but I know it is possible.
>
> On the cutting/pasting, you cannot right click it and get a menu (to my 
> knowledge)
> but you can do a control-C to place selected text on the clipboard for
> future pasting.  You can select text by dragging the cursor (or
> by shift-Click I would think).  To my knowledge, you could not select
> a specific column of information in this table you are wanting to view.
>
> Ohhh, my "are you kidding" comment was because of your last
> name - I just think that KIdder is a "cool name".  It certainly was not a 
> "shot" at your question, nor was I making fun of your name - I just
> like your name ... not enough to change my own, but I like it.  :)
>
> Thanks,
> Bob
>
>
>



-- 
 Chris Johnson

--^----------------------------------------------------------------
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt
Or send an email to: [email protected]

TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
--^----------------------------------------------------------------