Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 To: chris smith
  Where is chris smith?
 Yorkshire CH CH
 Barbados
 chris smith
 Tags
Subject: RE: word wrap
Thread ID: 395530 Message ID: 395583 # Views: 39 # Ratings: 0
Version: Visual FoxPro 6 Category: Grids
Date: Thursday, January 16, 2014 12:31:43 AM         
   


> >
> >
> > Hi,
> >
> > If doing something out of the ordinary by-pass listboxes and dropdown
> > combo boxes and go directly to the Grid as a base start off point.
> >
> > In a Grid in a column you could add in an EditBox container that does
> > support word wrapping and enlarge the row height property of the Grid
> > so the rows will show say 3 lines of information or the maximum height
> > desired.
> >
> > Pete "the IceMan", from the Great White North of Canada.
> > www.marathongriffincomputers.com
>
> Thanks Pete for your response however i tried that already and the text still shows up on one line in the edit box and it does not wrap to a next line...I wondering if something like chr(13) must be placed in the text where i want to go on new line?
>
> this is strange that this is not easier to get done....
>
> Chris Smith


Hi Chris,
You got something set wrong then as I have EditBox embedded in Grid column for invoicing detail sales
lines and the word wrapping works 100%. You do have to change the following column properties for the
EditBox to be active and working.
Set current control to be the Edit1 object.

Change Sparse property....


Then you get something like shown below:

Notice you can if you want make the Grid row height higher so you can get in and
use the EditBox scroll bars and have several lines showing up in the Grid column.

Hope this makes things clearer!

Pete "the IceMan", from the Great White North of Canada.
www.marathongriffincomputers.com

ENTIRE THREAD

word wrap Posted by chris smith @ 1/15/2014 6:02:48 PM
RE: word wrap Posted by Pete Sass @ 1/15/2014 9:24:47 PM
RE: word wrap Posted by chris smith @ 1/15/2014 10:12:50 PM
RE: word wrap Posted by Koen Piller @ 1/15/2014 11:07:32 PM
RE: word wrap Posted by Jun Tangunan @ 1/15/2014 11:31:45 PM
RE: word wrap Posted by Pete Sass @ 1/16/2014 12:31:43 AM
RE: word wrap Posted by Anders Altberg @ 1/15/2014 11:48:10 PM