home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,832 of 10,840   
   Henning to All   
   Re: Alternative scrollbar option for mov   
   16 Feb 11 00:33:36   
   
   XPost: comp.lang.basic.visual.misc, microsoft.public.vb.general.discussion   
   From: computer_hero@coldmail.com   
      
   "Mojo"  skrev i meddelandet   
   news:KdudnbQRkYpcbMfQnZ2dnUVZ8kGdnZ2d@brightview.co.uk...   
   > Hi All   
   >   
   > I've been a good lad and when my vb6 app was limited for space I created a   
   > picturebox within a picturebox and then used the standard scrollbar to   
   > move   
   > the picturebox contents left and right.  This is fine and it's functional,   
   > but the standard vb6 scrollbar looks a bit tired and amateurish, as my   
   > form   
   > design looks completely diff to the grey Win98 look of the scrollbar.   
   >   
   > I've tried putting some nice slim left/right arrows at each side of the   
   > picture to give the same scrollie effect, but my code doesn't seem to give   
   > a   
   > fluid experience/control.  You basically have to frantically keep clicking   
   > the left (or right) arrow to make it go left (or right) and it just   
   > doesn't   
   > work.   
   >   
   > Has anybody got any suggestions on how I could make my arrow clicking a   
   > fluid process, I envisaged that they'd just hold the mouse down to make it   
   > move left or right, but how do you invoke this in code OR a better looking   
   > scrollbar offering??   
   >   
   > Thank you in advance.   
   >   
   >   
      
   Use Public variables for ScrollLeft As Boolean, ScrollRight As Boolean.   
      
   Use the Left- and Right Arrow controls' MouseDown and MouseUp events to   
   enable/disable scrolling in a Timer.   
      
   /Henning   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca