Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox displays 'boxes' to represent carrigage return
Message
From
26/09/2000 16:42:10
 
 
To
26/09/2000 10:11:37
Sammy Derban
Ghana Telecom
Accra, Ghana
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00420899
Message ID:
00421203
Views:
15
>I use an editbox for input of text (multiple lines) Then when i use a list box to display i get 'boxes' appearing where enter key was pressed. How do i get rid of these 'boxes' character

You can do a StrTran(EditBox.Value, CHR(13)) to remove those lines

Are you trying to show each line of the edit box as an item in the list box? Try something like this then:

ListBox.AddProperty('aItems[1]')
ALines(ListBox.aItems, EditBox.Value)
ListBox.RowSourceType = 5
ListBox.RowSource = 'This.aItems'
Previous
Reply
Map
View

Click here to load this message in the networking platform