We help IT Professionals succeed at work.

Removing scroll bars in DBMemo

fredc
fredc asked
on
Medium Priority
339 Views
Last Modified: 2011-09-20
How do you remove the scroll bars from the dbmemo component so a person has to navigate by using a datasource connected to the database.

I have delphi developer.

Comment
Watch Question

Commented:
The DBMemo just displays a MEMO field from a DB... You can only navigate within the text of the field using the scrollbars.


Author

Commented:
I have got code from another source to remove them.
It's header is
                          dbgrid.disablescrollbars
I just don't know where to put this in my program or to actually edit the units source.  I also meant to navigate using the navigator component
Commented:
To remove scroll bars from a DBMemo component (Not DBGrid?) just
change the value of ScrollBars within the component to 'ssNone'.
If you are talking about DBGrid please post more info.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Well don't I feel stupid!!

I need it for a dbgrid component.
Sorry
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.