Article View: borland.public.cppbuilder.nativeapi
Article #12149Re: How to prevent scrollbar scrolling
From: Rodolfo Frino - Macrosoft
Date: Tue, 23 Dec 2003 12:08
Date: Tue, 23 Dec 2003 12:08
43 lines
2178 bytes
2178 bytes
If I understood correctly you have a Memo embedded into a form. Because the Memo does not completely fit into the Form, the Form's scrollbars (or at least one of them) will appear and they will automatically scroll down to certain position. You want the Scrollbar to be visible but you want their positions to be 0. If this is correct, then this is what you can do VertScrollBar->Position = 0; HorzScrollBar->Position = 0; Rodolfo "Sky" <huangc@motic.com> wrote in message news:3fe7e928@newsgroups.borland.com... > Thanks Rodolfo, but the ScrollBar is necessary, > I need to scroll the ScrollBar manually > if my control size is more than the form size, > not automatically. > > further hint? TIA > > Sky > > > "Rodolfo Frino - Macrosoft" <Macrosoft@Atlantis.com> д����Ϣ���� > :3fe79fbf@newsgroups.borland.com... > > Try this > > > > VertScrollBar->Visible = false; > > HorzScrollBar->Visible = false; > > > > Rodolfo > > > > "Sky" <huangc@163.com> wrote in message > > news:3fe791bf@newsgroups.borland.com... > > > Hi all > > > I want to prevent scrollbar scrolling, > > > for example:... > > > > > >
Technical Details
Message-ID:
<3fe8301c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fe791bf@newsgroups.borland.com> <3fe79fbf@newsgroups.borland.com> <3fe7e928@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,4ce0bf2a840fdfb6 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-23 04:22:23 PST From: "Rodolfo Frino - Macrosoft" <Macrosoft@Atlantis.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fe791bf@newsgroups.borland.com> <3fe79fbf@newsgroups.borland.com> <3fe7e928@newsgroups.borland.com> Subject: Re: How to prevent scrollbar scrolling Date: Tue, 23 Dec 2003 23:08:02 +1100 Lines: 45 Organization: Macrosoft Corporation X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 203.206.19.73 Message-ID: <3fe8301c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1072181276 203.206.19.73 (23 Dec 2003 04:07:56 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail