Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
 To: Bhagawati Pandey
  Where is Bhagawati Pandey?
 Kolkata
 India
 Bhagawati Pandey
 Tags
Subject: RE: Text file in a form
Thread ID: 78702 Message ID: 78748 # Views: 2 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Friday, October 07, 2005 3:43:18 PM         
   


If the line heigth is bigger than EditBox Height you could not prevent wordwrap :-( you must use Rich Text ActiveX Control instead.
If the line is maller then use a non-propertional font for Edit Box, Set Font property for edit box to Courier New

> Jim,
>
> Actualy it is not problem of scroll. The text file is in a tabular format and when it comes in edit box the tabular format is deteriorating.
> I am giving you a small example :
> this is the text file :
>
> Mr. x 50000 Basic
> 4000 HRA
> when it comes in edit box it looks like this :
>
> Mr. x 5000 Basic
> 4000 HRA
>
> I hope now it is clear to you.
>
> Regards,
>
> Bhagawati Pandey
>
>
> > > Thank you very much, this is helpfull for me. But one more query :
> > > If a line of text file is big like 256 charecter and edit box is smaller the it is deteriorating. Can it be managed ?
> > >
> > Bhagawati,
> >
> > With an edit box, if the text is too long to fit in the display area, it will have scroll bars that will allow the user to see the rest of the text.
> >
> > Regards,
> > Jim




VFP 8 SP 1

ENTIRE THREAD

Text file in a form Posted by Bhagawati Pandey @ 10/7/2005 5:19:00 AM
RE: Text file in a form Posted by Bernard Bout @ 10/7/2005 5:29:36 AM
RE: Text file in a form Posted by Bhagawati Pandey @ 10/7/2005 9:51:42 AM
RE: Text file in a form Posted by Jim Winter @ 10/7/2005 10:06:01 AM
RE: Text file in a form Posted by Bhagawati Pandey @ 10/7/2005 3:28:36 PM
RE: Text file in a form Posted by Jim Winter @ 10/7/2005 3:40:55 PM
RE: Text file in a form Posted by Borislav Borissov @ 10/7/2005 3:43:18 PM