Connecting Tech Pros Worldwide Help | Site Map

Scroll a Panel in code ..

n. Smith
Guest
 
Posts: n/a
#1: Nov 21 '05

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.
Dr Screwup
Guest
 
Posts: n/a
#2: Nov 21 '05

re: Scroll a Panel in code ..


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...[color=blue]
>
> 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.[/color]


Cor Ligthert
Guest
 
Posts: n/a
#3: Nov 21 '05

re: Scroll a Panel in code ..


Hi Smith,

One of our main scrollers is probably still 10 days away, check yourself
these messages about this subject from him.

http://tinyurl.com/3sufx

I hope this helps?

Cor


One Handed Man \( OHM - Terry Burns \)
Guest
 
Posts: n/a
#4: Nov 21 '05

re: Scroll a Panel in code ..


What an ingenious answer, that's quite impressive really.

Where is Hr H anyways ?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"Cor Ligthert" <notmyfirstname@planet.nl> wrote in message
news:eTRWJBJpEHA.2068@TK2MSFTNGP09.phx.gbl...[color=blue]
> Hi Smith,
>
> One of our main scrollers is probably still 10 days away, check yourself
> these messages about this subject from him.
>
> http://tinyurl.com/3sufx
>
> I hope this helps?
>
> Cor
>
>[/color]


Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
#5: Nov 21 '05

re: Scroll a Panel in code ..


"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> schrieb:[color=blue]
> Where is Hr H anyways ?[/color]

:-?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


One Handed Man \( OHM - Terry Burns \)
Guest
 
Posts: n/a
#6: Nov 21 '05

re: Scroll a Panel in code ..


Welcome Back Herfreid, where have you been ?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"Herfried K. Wagner [MVP]" <hirf.nosp@m.activevb.de> wrote in message
news:uR51KGLpEHA.596@TK2MSFTNGP11.phx.gbl...[color=blue]
> "One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> schrieb:[color=green]
> > Where is Hr H anyways ?[/color]
>
> :-?
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>
>
>[/color]


Nicky Smith
Guest
 
Posts: n/a
#7: Nov 21 '05

re: Scroll a Panel in code ..



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:
[color=blue]
>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.. .[color=green]
>>
>> 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.[/color]
>[/color]

One Handed Man \( OHM - Terry Burns \)
Guest
 
Posts: n/a
#8: Nov 21 '05

re: Scroll a Panel in code ..



Private Declare Function SendMessage Lib "user32.dll" Alias
"SendMessageA" (ByVal hWnd As IntPtr, ByVal wMsg As Int32, ByVal wParam As
Int32, ByVal lParam As Int32) As Int32

Const WM_VSCROLL As Int32 = &H115
Const SB_LINEDOWN As Int32 = 1
Const SB_LINEUP As Int32 = 0

SendMessage(Panel1.Handle, WM_VSCROLL, SB_LINEDOWN, 0)
SendMessage(Panel1.Handle, WM_VSCROLL, SB_LINEUP, 0)


--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"Nicky Smith" <nixdk@yahoo.dk> wrote in message
news:tdvgl05pb07lcvs4deg0vbnip0vjnqmrqh@4ax.com...[color=blue]
>
> 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:
>[color=green]
> >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.. .[color=darkred]
> >>
> >> 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.[/color]
> >[/color]
>[/color]


Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
#9: Nov 21 '05

re: Scroll a Panel in code ..


Terry,

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> schrieb:[color=blue]
> Welcome Back Herfreid, where have you been ?[/color]

I am currently making my driver's license and thus don't have enough time to
be active in this group. I'll be back in a few days, hopefully...

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


One Handed Man \( OHM - Terry Burns \)
Guest
 
Posts: n/a
#10: Nov 21 '05

re: Scroll a Panel in code ..


Good Luck with your licence

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"Herfried K. Wagner [MVP]" <hirf.nosp@m.activevb.de> wrote in message
news:%23GbPJmTpEHA.2340@TK2MSFTNGP11.phx.gbl...[color=blue]
> Terry,
>
> "One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> schrieb:[color=green]
> > Welcome Back Herfreid, where have you been ?[/color]
>
> I am currently making my driver's license and thus don't have enough time[/color]
to[color=blue]
> be active in this group. I'll be back in a few days, hopefully...
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>
>
>[/color]


Dr Screwup
Guest
 
Posts: n/a
#11: Nov 21 '05

re: Scroll a Panel in code ..


Do what? I don't think you understood his question. He DOES'T want
scrollbars. Your code will only work with Autoscroll = True. Which will show
the scroll bar.


"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:%23ntor9SpEHA.3712@TK2MSFTNGP15.phx.gbl...[color=blue]
>
> Private Declare Function SendMessage Lib "user32.dll" Alias
> "SendMessageA" (ByVal hWnd As IntPtr, ByVal wMsg As Int32, ByVal wParam As
> Int32, ByVal lParam As Int32) As Int32
>
> Const WM_VSCROLL As Int32 = &H115
> Const SB_LINEDOWN As Int32 = 1
> Const SB_LINEUP As Int32 = 0
>
> SendMessage(Panel1.Handle, WM_VSCROLL, SB_LINEDOWN, 0)
> SendMessage(Panel1.Handle, WM_VSCROLL, SB_LINEUP, 0)
>
>
> --
>
> OHM ( Terry Burns )
> . . . One-Handed-Man . . .
> If U Need My Email ,Ask Me
>
> Time flies when you don't know what you're doing
>
> "Nicky Smith" <nixdk@yahoo.dk> wrote in message
> news:tdvgl05pb07lcvs4deg0vbnip0vjnqmrqh@4ax.com...[color=green]
>>
>> 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:
>>[color=darkred]
>> >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.
>> >[/color]
>>[/color]
>
>[/color]


One Handed Man \( OHM - Terry Burns \)
Guest
 
Posts: n/a
#12: Nov 21 '05

re: Scroll a Panel in code ..


OK Dr Screwup, dont get your braids in a twizzle.

I didnt check this with Autoscroll set to true, however this doesent matter
because you can hide the scroll bars by dragging another panel to obscure
the virtical scroll bars and it works just fine.

HTH

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"Dr Screwup" <nospam@no_thanks.com> wrote in message
news:10liosm9mu4tlf2@corp.supernews.com...[color=blue]
> Do what? I don't think you understood his question. He DOES'T want
> scrollbars. Your code will only work with Autoscroll = True. Which will[/color]
show[color=blue]
> the scroll bar.
>
>
> "One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in[/color]
message[color=blue]
> news:%23ntor9SpEHA.3712@TK2MSFTNGP15.phx.gbl...[color=green]
> >
> > Private Declare Function SendMessage Lib "user32.dll" Alias
> > "SendMessageA" (ByVal hWnd As IntPtr, ByVal wMsg As Int32, ByVal wParam[/color][/color]
As[color=blue][color=green]
> > Int32, ByVal lParam As Int32) As Int32
> >
> > Const WM_VSCROLL As Int32 = &H115
> > Const SB_LINEDOWN As Int32 = 1
> > Const SB_LINEUP As Int32 = 0
> >
> > SendMessage(Panel1.Handle, WM_VSCROLL, SB_LINEDOWN, 0)
> > SendMessage(Panel1.Handle, WM_VSCROLL, SB_LINEUP, 0)
> >
> >
> > --
> >
> > OHM ( Terry Burns )
> > . . . One-Handed-Man . . .
> > If U Need My Email ,Ask Me
> >
> > Time flies when you don't know what you're doing
> >
> > "Nicky Smith" <nixdk@yahoo.dk> wrote in message
> > news:tdvgl05pb07lcvs4deg0vbnip0vjnqmrqh@4ax.com...[color=darkred]
> >>
> >> 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[/color][/color][/color]
can[color=blue][color=green][color=darkred]
> >> >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.
> >> >
> >>[/color]
> >
> >[/color]
>
>[/color]


Dr Screwup
Guest
 
Posts: n/a
#13: Nov 21 '05

re: Scroll a Panel in code ..


Whatever.


"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:%23a9YXKWpEHA.896@TK2MSFTNGP12.phx.gbl...[color=blue]
> OK Dr Screwup, dont get your braids in a twizzle.
>
> I didnt check this with Autoscroll set to true, however this doesent
> matter
> because you can hide the scroll bars by dragging another panel to obscure
> the virtical scroll bars and it works just fine.
>
> HTH
>
> --
>
> OHM ( Terry Burns )
> . . . One-Handed-Man . . .
> If U Need My Email ,Ask Me
>
> Time flies when you don't know what you're doing
>
> "Dr Screwup" <nospam@no_thanks.com> wrote in message
> news:10liosm9mu4tlf2@corp.supernews.com...[color=green]
>> Do what? I don't think you understood his question. He DOES'T want
>> scrollbars. Your code will only work with Autoscroll = True. Which will[/color]
> show[color=green]
>> the scroll bar.
>>
>>
>> "One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in[/color]
> message[color=green]
>> news:%23ntor9SpEHA.3712@TK2MSFTNGP15.phx.gbl...[color=darkred]
>> >
>> > Private Declare Function SendMessage Lib "user32.dll" Alias
>> > "SendMessageA" (ByVal hWnd As IntPtr, ByVal wMsg As Int32, ByVal wParam[/color][/color]
> As[color=green][color=darkred]
>> > Int32, ByVal lParam As Int32) As Int32
>> >
>> > Const WM_VSCROLL As Int32 = &H115
>> > Const SB_LINEDOWN As Int32 = 1
>> > Const SB_LINEUP As Int32 = 0
>> >
>> > SendMessage(Panel1.Handle, WM_VSCROLL, SB_LINEDOWN, 0)
>> > SendMessage(Panel1.Handle, WM_VSCROLL, SB_LINEUP, 0)
>> >
>> >
>> > --
>> >
>> > OHM ( Terry Burns )
>> > . . . One-Handed-Man . . .
>> > If U Need My Email ,Ask Me
>> >
>> > Time flies when you don't know what you're doing
>> >
>> > "Nicky Smith" <nixdk@yahoo.dk> wrote in message
>> > news:tdvgl05pb07lcvs4deg0vbnip0vjnqmrqh@4ax.com...
>> >>
>> >> 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[/color][/color]
> can[color=green][color=darkred]
>> >> >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.
>> >> >
>> >>
>> >
>> >[/color]
>>
>>[/color]
>
>[/color]


Nicky Smith
Guest
 
Posts: n/a
#14: Nov 21 '05

re: Scroll a Panel in code ..


Dear Dr.

Tried it, and it worked like a charm.

Thx.

Smith.

On Mon, 27 Sep 2004 07:34:18 -0500, "Dr Screwup"
<nospam@no_thanks.com> wrote:
[color=blue]
>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.. .[color=green]
>>
>> 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.[/color]
>[/color]

Dr Screwup
Guest
 
Posts: n/a
#15: Nov 21 '05

re: Scroll a Panel in code ..


Nick,

Glad I could help. I was wondering if I understood your question because so
many people were offering you some silly suggestions like using the APIs to
send messages. Sometimes the simplest answer is the best answer.

Good luck on your project.


"Nicky Smith" <nixdk@yahoo.dk> wrote in message
news:0okjl0dvcp4qr6bmdrmo9thgi6tddljncb@4ax.com...[color=blue]
> Dear Dr.
>
> Tried it, and it worked like a charm.
>
> Thx.
>
> Smith.
>
> On Mon, 27 Sep 2004 07:34:18 -0500, "Dr Screwup"
> <nospam@no_thanks.com> wrote:
>[color=green]
>>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. ..[color=darkred]
>>>
>>> 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.[/color]
>>[/color]
>[/color]


One Handed Man \( OHM - Terry Burns \)
Guest
 
Posts: n/a
#16: Nov 21 '05

re: Scroll a Panel in code ..


My solution worked exactly as you originally requested

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"Nicky Smith" <nixdk@yahoo.dk> wrote in message
news:0okjl0dvcp4qr6bmdrmo9thgi6tddljncb@4ax.com...[color=blue]
> Dear Dr.
>
> Tried it, and it worked like a charm.
>
> Thx.
>
> Smith.
>
> On Mon, 27 Sep 2004 07:34:18 -0500, "Dr Screwup"
> <nospam@no_thanks.com> wrote:
>[color=green]
> >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.. .[color=darkred]
> >>
> >> 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.[/color]
> >[/color]
>[/color]


Dr Screwup
Guest
 
Posts: n/a
#17: Nov 21 '05

re: Scroll a Panel in code ..


> My solution worked exactly as you originally requested

LOL! Duh! Panel1.AutoScrollPosition = New Point(3, 3) does the same
thing.


"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:egxPy7epEHA.1644@tk2msftngp13.phx.gbl...[color=blue]
>
> --
>
> OHM ( Terry Burns )
> . . . One-Handed-Man . . .
> If U Need My Email ,Ask Me
>
> Time flies when you don't know what you're doing
>
> "Nicky Smith" <nixdk@yahoo.dk> wrote in message
> news:0okjl0dvcp4qr6bmdrmo9thgi6tddljncb@4ax.com...[color=green]
>> Dear Dr.
>>
>> Tried it, and it worked like a charm.
>>
>> Thx.
>>
>> Smith.
>>
>> On Mon, 27 Sep 2004 07:34:18 -0500, "Dr Screwup"
>> <nospam@no_thanks.com> wrote:
>>[color=darkred]
>> >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.
>> >[/color]
>>[/color]
>
>[/color]


One Handed Man \( OHM - Terry Burns \)
Guest
 
Posts: n/a
#18: Nov 21 '05

re: Scroll a Panel in code ..


Christ your right, well knock me down with a feather; how long have you been
searching for that then cuz you didnt mention it yesterday ;-)

I'll remember that, thanks Dr Screwup

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"Dr Screwup" <nospam@no_thanks.com> wrote in message
news:10lles9maq3uf2@corp.supernews.com...[color=blue][color=green]
> > My solution worked exactly as you originally requested[/color]
>
> LOL! Duh! Panel1.AutoScrollPosition = New Point(3, 3) does the same
> thing.
>
>
> "One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in[/color]
message[color=blue]
> news:egxPy7epEHA.1644@tk2msftngp13.phx.gbl...[color=green]
> >
> > --
> >
> > OHM ( Terry Burns )
> > . . . One-Handed-Man . . .
> > If U Need My Email ,Ask Me
> >
> > Time flies when you don't know what you're doing
> >
> > "Nicky Smith" <nixdk@yahoo.dk> wrote in message
> > news:0okjl0dvcp4qr6bmdrmo9thgi6tddljncb@4ax.com...[color=darkred]
> >> Dear Dr.
> >>
> >> Tried it, and it worked like a charm.
> >>
> >> Thx.
> >>
> >> 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[/color][/color][/color]
can[color=blue][color=green][color=darkred]
> >> >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.
> >> >
> >>[/color]
> >
> >[/color]
>
>[/color]


Closed Thread


Similar Visual Basic .NET bytes