PC Review


Reply
Thread Tools Rate Thread

How to display first line in a text box

 
 
TJ
Guest
Posts: n/a
 
      20th Aug 2009
I have a EULA displaying in a text box with scroll bars. However the
display shows the end of the text not the first line.

Is there a way to display the top line or another approach?

Thanks
 
Reply With Quote
 
 
 
 
Rick Rothstein
Guest
Posts: n/a
 
      20th Aug 2009
Set the SelStart property to 0.

--
Rick (MVP - Excel)


"TJ" <(E-Mail Removed)> wrote in message
news:c2ff081e-dd07-46d7-8136-(E-Mail Removed)...
>I have a EULA displaying in a text box with scroll bars. However the
> display shows the end of the text not the first line.
>
> Is there a way to display the top line or another approach?
>
> Thanks


 
Reply With Quote
 
Tom
Guest
Posts: n/a
 
      20th Aug 2009
Thanks, Rick

Is there a way to display Rich Text Format in a text box? or other approach?

"Rick Rothstein" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Set the SelStart property to 0.
>
> --
> Rick (MVP - Excel)
>
>
> "TJ" <(E-Mail Removed)> wrote in message
> news:c2ff081e-dd07-46d7-8136-(E-Mail Removed)...
>>I have a EULA displaying in a text box with scroll bars. However the
>> display shows the end of the text not the first line.
>>
>> Is there a way to display the top line or another approach?
>>
>> Thanks

>



 
Reply With Quote
 
Rick Rothstein
Guest
Posts: n/a
 
      20th Aug 2009
> Is there a way to display Rich Text Format in a text box? or other
> approach?


I'm not sure how to answer this question. When I check for "More Controls"
on my UserForm's Toolbox or the ActiveX Control Toolbox toolbar on the Excel
worksheet, there is a...

Microsoft Rich Textbox Control 6.0 (SP6)

control I can select, but I don't believe it is native to Windows.... I
*think* it was made available when I installed my copy of the compiler
version of VB6... the SP6 makes me think that as my copy of VB6 (the
compiler version) is at Service Pack 6. If you have this control available
to you as well, and if you don't have the compiler version of VB installed,
then that *might* mean you have installed an application that was made with
the compiled version of VB and that installation could have put the Rich
TextBox on your system. The reason I am going through all of this is to warn
you that if you have the Rich TextBox available, it might not be because
Windows provided it; and if Windows didn't provide it, then you cannot
expect all systems that run use your workbook to be able to have the control
available to them as well.

--
Rick (MVP - Excel)


"Tom" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks, Rick
>
> Is there a way to display Rich Text Format in a text box? or other
> approach?
>
> "Rick Rothstein" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Set the SelStart property to 0.
>>
>> --
>> Rick (MVP - Excel)
>>
>>
>> "TJ" <(E-Mail Removed)> wrote in message
>> news:c2ff081e-dd07-46d7-8136-(E-Mail Removed)...
>>>I have a EULA displaying in a text box with scroll bars. However the
>>> display shows the end of the text not the first line.
>>>
>>> Is there a way to display the top line or another approach?
>>>
>>> Thanks

>>

>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display text with line feeds/<BR> Jeff Microsoft ASP .NET 1 13th Jul 2006 03:39 PM
Display last line of a text file fpschultze Microsoft Windows 2000 CMD Promt 16 27th Jan 2006 01:53 PM
how to display text in new line in a TextBox in Vb.NET? =?Utf-8?B?bnNq?= Microsoft ASP .NET 1 21st Apr 2005 03:40 PM
how to display text in new line in a TextBox in Vb.NET? =?Utf-8?B?bnNq?= Microsoft Dot NET 0 21st Apr 2005 03:14 PM
how to display line numbers in text box rammohan Microsoft C# .NET 2 12th Feb 2004 07:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:31 PM.