Re: Scroll a Panel in code ..

From: Nicky Smith (nixdk_at_yahoo.dk)
Date: 09/27/04


Date: Mon, 27 Sep 2004 23:01:59 +0200


Thanks for the suggestion. I was hoping there was a way of sending a
scroll value to a hidden scroll bar.

I'll be adding controls to a panel dynamically - kind of plugins for a
toolbar.

but I guess your idea might work as well as anything else.

Then I can maybe track the display of the first and last controls by
checking the bounds of the panel.

Thanks. I'll check it out.

Smith.

On Mon, 27 Sep 2004 07:34:18 -0500, "Dr Screwup"
<nospam@no_thanks.com> wrote:

>What's in the panel? Controls or a picture? If they are controls you can
>move them yourself .
>
>Dim c as Control
>For each c in Panel1.Controls
> ' New Location
> c.Location = 'Wherever you want it
>Next
>
>If it's a picture just draw part that needs to be seen.
>
>
>
>"n. Smith" <nixdk@yahoo.dk> wrote in message
>news:t7lfl0992gfgunjuugogqdkiofdp3leari@4ax.com...
>>
>> Can anyone help here? I need to scroll a panel in code, because I
>> don't want to display the scroll bar on screen.
>>
>> Any suggestions.
>>
>> N.
>



Relevant Pages

  • RE: Repost: Controls are unreachable after scroll and form resize.
    ... form are visible and there is no scroll bars on the panel. ... some of the controls on the panel are placed ... Then if I resize the child form to the previous size ... the same as the locations after I drag the scroll bar just now. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: Repost: Controls are unreachable after scroll and form resize.
    ... form are visible and there is no scroll bars on the panel. ... some of the controls on the panel are placed ... Then if I resize the child form to the previous size ... the same as the locations after I drag the scroll bar just now. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Scroll a Panel in code ..
    ... If they are controls you ... >>>>If it's a picture just draw part that needs to be seen. ... I need to scroll a panel in code, ... >>>>> don't want to display the scroll bar on screen. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How can I create a dynamically FORM?
    ... About the scroll bar that I wrote before, it happens if I open in the view ... Label on the form for you. ... I can bind the recordset to a form without a problem. ... Change programmatically the name of the controls (acTextControl) ...
    (microsoft.public.access.formscoding)
  • RE: Scroll Bar maximum value
    ... Regards, ... > scroll bar from the Controls toolbar. ...
    (microsoft.public.excel.charting)