The text box is set to show the vertical scroll bar.
Using the timer event of the form, I would like to simulate clicking the
down arrow on the scroll bar so that every few seconds, it scrolls the text
in the text box up 1 line. Then at the end of the cycle, I want it to return
to the top and start over.
Is there an event for clicking the scoll arrows? I didn't see one.
Steve
I don't know if this can be done but Why? This suggest you want to make
some sort of marquee with a text box. I personally, would find that
annoying. Why not just let the Users click the scrollbar?
--
Gina Whipp
2010 Microsoft MVP (Access)
"I feel I have been denied critical, need to know, information!" - Tremors
II
http://www.regina-whipp.com/index_files/TipList.htm
"Steve Haack" <Steve...@discussions.microsoft.com> wrote in message
news:F9F8ABD2-F47B-4D53...@microsoft.com...
Steve
"Gina Whipp" wrote:
> .
>
Then I am going to suggest a marquee as I have not yet heard of a way to
*force* a scroll bar to scroll.
--
Gina Whipp
2010 Microsoft MVP (Access)
"I feel I have been denied critical, need to know, information!" - Tremors
II
http://www.regina-whipp.com/index_files/TipList.htm
"Steve Haack" <Steve...@discussions.microsoft.com> wrote in message
news:3059EEF9-30F9-4190...@microsoft.com...
Thanks,
Steve
"Gina Whipp" wrote:
> .
>
I would just search on Google...
http://www.google.com/search?hl=en&source=hp&q=Marquee+ms+access&rlz=1R2GGIH_en&aq=f&oq=&aqi=
--
Gina Whipp
2010 Microsoft MVP (Access)
"I feel I have been denied critical, need to know, information!" - Tremors
II
http://www.regina-whipp.com/index_files/TipList.htm
"Steve Haack" <Steve...@discussions.microsoft.com> wrote in message
news:1D3CF5F9-B5F3-4F19...@microsoft.com...
>> "Steve Haack" <Steve...@discussions.microsoft.com> wrote
>> > Let's say that I have a text box that shows 2 lines of text, and in that
>> > text
>> > box i have 10 lines.
>> >
>> > The text box is set to show the vertical scroll bar.
>> >
>> > Using the timer event of the form, I would like to simulate clicking the
>> > down arrow on the scroll bar so that every few seconds, it scrolls the
>> > text
>> > in the text box up 1 line. Then at the end of the cycle, I want it to
>> > return to the top and start over.
>> >
>> > Is there an event for clicking the scoll arrows?
No scroll bar options. It would take some API programming
to do that and I, for one, do not want to go there.
OTOH, IF each "line" in the text box is separated from the
next line with a CrLf and te line is guaranteed to fit
within the width of the text box, then you can kind kind of
make it look like a vertical banner by using code along
these lines:
Dim pos As Long
If IsNull(Me.textbox) Then Exit Sub
pos = Instr(Me.textbox, vbCrLf) + 2
Me.textbox = Mid(Me.textbox, pos+1) & Left(Me.textbox, pos)
--
Marsh
MVP [MS Access]
This one looks pretty simple to implement...
http://blogs.techrepublic.com.com/msoffice/?p=657
--
Gina Whipp
2010 Microsoft MVP (Access)
"I feel I have been denied critical, need to know, information!" - Tremors
II
http://www.regina-whipp.com/index_files/TipList.htm
"Steve Haack" <Steve...@discussions.microsoft.com> wrote in message
news:1D3CF5F9-B5F3-4F19...@microsoft.com...