Welcome Guest ( Log In | Click here to Register a free account now! )
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.| Important Announcement: We have two terrific contests running on the site that I wanted all our members and guests to know about. The first contest is the HP Magic Giveaway, which is underway as of November 28th. More information can be found at this topic, which will be updated very soon with further information. The second contests, is for the chance to win two Seagate FreeAgent external hard drives. More information about this contest can be found here. These are both amazing contests and I suggest everyone submit an entry for them. - BleepingComputer Management |
![]() ![]() |
Aug 2 2005, 12:39 PM
Post
#1
|
|
![]() Member ![]() ![]() Group: Members Posts: 75 Joined: 28-April 05 From: Stelle, Illinois Member No.: 18,385 |
First, even though I have the "Scrollbars" property set to 3-Both, yet when the text to be displayed in the TextBox exceeds the size of the box, no scrollbars are displayed. The text just runs off the end of the top line in the TextBox. Second, I have this line of code: txtDisplay.Text = "GetAbsolutePathName: " & _ mFileSysObj.GetAbsolutePathName( _ filFileBox.Path) & vbNewLine & _ "GetDriveName: " & mFileSysObj.GetDriveName( _ filFileBox.Path) & vbNewLine & _ "GetParentFolderName: " & _ mFileSysObj.GetParentFolderName( _ filFileBox.Path) & vbNewLine & _ "GetTempName: " & mFileSysObj.GetTempName I expect to get a CRLF for the "vbNewLine", but I get "||". Can vbNewLine be something other than CRLF? Any ideas why I see what I see? Maybe one fix will resolve both problems. I keep thinking that maybe there is someplace where vbNewLine is defined (and can be redefined). -------------------- KermitD
Choices have consequences. |
|
|
|
Aug 3 2005, 06:14 PM
Post
#2
|
|
|
New Member ![]() Group: Members Posts: 7 Joined: 3-August 05 Member No.: 29,805 |
Set the MultiLine property of the TextBox to True.
|
|
|
|
Aug 3 2005, 11:37 PM
Post
#3
|
|
![]() Member ![]() ![]() Group: Members Posts: 75 Joined: 28-April 05 From: Stelle, Illinois Member No.: 18,385 |
Thanks JAY CAT,
It solves both problems. From now on, I'll look at the form-element properties a lot closer. I love this forum. KermitD -------------------- KermitD
Choices have consequences. |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 4th December 2008 - 01:37 PM |