View Full Version : MemoBox Scroll Bars


Fornatian
01-28-2001, 07:20 AM
Is it possible to make a memo boxes scroll bar visible without giving it the focus?

I ask because I am building a custom help file for a small application and want to give the user a help file. I am doing this using a table with two fields: txtHelpTitle(text field) and mmoHelpText(memo field)

What I want is the ability for the user to open the help file at the appropriate location and have scroll bar made visible WITHOUT the memo box being enabled.

Any ideas anyone...

Louise
01-28-2001, 03:56 PM
Could you not simply set the focus to another control immediately following the enabling of the scrollbars?

Fornatian
01-28-2001, 10:34 PM
Good Idea Louise, doesn't seem to work though because the scrollbars disappear as soon as the control loses the focus.

Unfortunately, this is exactly what I am trying to avoid.

Any other suggestions?

Atomic Shrimp
01-29-2001, 05:49 AM
I haven't tried this, and I'm not sure if it's all that elegant a solution, but what about if the help text bit was a subform instead of a text box?

You'd need code to ensure that the subform looks up the correct help topic, and gets refreshed when the user changes the topic, but (I think) as long as the subform is designed so that it is bigger than the space allotted to it on the main form, the scroll bars should be there all the time.

HTH

Mike

Fornatian
01-29-2001, 07:35 AM
Sounds promising...
Will notify if successful - I know its good to know!

Ian

ElsVanMiert
01-30-2001, 12:57 AM
I use this system for small applications with an automatic language switch and I think it is a good solution.
Concerning the scrollbar, I did not find (maybe because I did not search) a way to activate it. I simply integrated an arrow on the form to indicate where to click to make the scrollbar visible.