PC Review


Reply
Thread Tools Rate Thread

Displaying Text on a Forms 2 Form

 
 
Alan Forsyth
Guest
Posts: n/a
 
      28th Dec 2007

I'm using Excel 8 and I have a sheet where I want to display from about a
paragraph up to about two pages of text when a user clicks in a
particular cell in a row.

I have no problems whatever with showing the Form and the text, but I
need some very basic Forms 2 help with the display of that text.

I want to disable edits, have no cursor, display the text so that it can
be read from the start rather than from the end and have a vertical
scrollbar when required.

A Label does what I want except for scrolling.
Can a user scroll through text on a Label? (he said, expecting the
answer, "No.")

A textbox does what I want when Enabled and Locked, but I'd need to
reposition the text within the Textbox so the user can start reading from
the top, and I'd like to remove the cursor to show that the text can't be
edited.
I feel I should be able to use SelStart and SelLen, but my tests leave
the text still showing the last section rather than the first.

I'd be grateful for help in these four goals:

1. Disable edits.
2. Have no cursor.
3. Display the text so that it can be read from the start.
4. Have a vertical scrollbar when required.

Thanks for any suggestions.

Alan Forsyth
 
Reply With Quote
 
 
 
 
John Bundy
Guest
Posts: n/a
 
      28th Dec 2007
Use a textbox, select LOCKED, scrollbars=2 (vertical), TextBox1.SelStart = 0
to bring the cursor to the beginning, and i have no clue on the cursor,
anything i do to get rid of it gets rid of scrollbars as well.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"Alan Forsyth" wrote:

>
> I'm using Excel 8 and I have a sheet where I want to display from about a
> paragraph up to about two pages of text when a user clicks in a
> particular cell in a row.
>
> I have no problems whatever with showing the Form and the text, but I
> need some very basic Forms 2 help with the display of that text.
>
> I want to disable edits, have no cursor, display the text so that it can
> be read from the start rather than from the end and have a vertical
> scrollbar when required.
>
> A Label does what I want except for scrolling.
> Can a user scroll through text on a Label? (he said, expecting the
> answer, "No.")
>
> A textbox does what I want when Enabled and Locked, but I'd need to
> reposition the text within the Textbox so the user can start reading from
> the top, and I'd like to remove the cursor to show that the text can't be
> edited.
> I feel I should be able to use SelStart and SelLen, but my tests leave
> the text still showing the last section rather than the first.
>
> I'd be grateful for help in these four goals:
>
> 1. Disable edits.
> 2. Have no cursor.
> 3. Display the text so that it can be read from the start.
> 4. Have a vertical scrollbar when required.
>
> Thanks for any suggestions.
>
> Alan Forsyth
>

 
Reply With Quote
 
Alan Forsyth
Guest
Posts: n/a
 
      28th Dec 2007
Yes, that's where I've ended up.That cursor just doesn't want to die.

Thanks anyway.


=?Utf-8?B?Sm9obiBCdW5keQ==?= <(E-Mail Removed)(remove)> wrote in
news:E3848C54-215C-4BFF-8E58-(E-Mail Removed):

> Use a textbox, select LOCKED, scrollbars=2 (vertical),
> TextBox1.SelStart = 0 to bring the cursor to the beginning, and i have
> no clue on the cursor, anything i do to get rid of it gets rid of
> scrollbars as well.


 
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
Forms - Displaying Multiple Records in one form Lyne Savage Microsoft Access Forms 3 9th Sep 2009 12:50 PM
Problem in displaying a text box in access form in controltip text Jack Microsoft Access Form Coding 1 20th Aug 2009 09:42 PM
Displaying forms in an array without closing each form JW Microsoft C# .NET 5 2nd Feb 2005 03:03 PM
Problems with custom forms not displaying, (using outlook form ins =?Utf-8?B?S2F0aGVyaW5lczAx?= Microsoft Outlook Contacts 1 13th Jan 2005 02:25 PM
Varchar text not displaying correctly in form or report text boxes =?Utf-8?B?Q29va2ll?= Microsoft Access ADP SQL Server 0 13th Oct 2004 10:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:52 PM.