Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Displaying Text on a Forms 2 Form


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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 772
Default Displaying Text on a Forms 2 Form

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Displaying Text on a Forms 2 Form

Yes, that's where I've ended up.That cursor just doesn't want to die.

Thanks anyway.


?B?Sm9obiBCdW5keQ==?= (remove) wrote in
:

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
insert text into scanned form & keep forms original appearance danwas Excel Discussion (Misc queries) 4 June 27th 07 09:35 PM
Displaying a User Form Dan N[_2_] Excel Programming 5 June 22nd 06 12:40 PM
Displaying forms in Excel with vb.net Olexij Excel Programming 0 January 25th 06 07:26 AM
displaying info on a form JT[_2_] Excel Programming 1 February 3rd 05 09:49 PM
Displaying form on startup? PEno1 Excel Programming 2 December 6th 04 02:09 AM


All times are GMT +1. The time now is 12:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"