Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / May 2005



Tip: Looking for answers? Try searching our database.

UpDown Control Not Working Correctly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TMan - 19 May 2005 10:12 GMT
Hello All,

I am migrating some code from VBA to a VB dll.

I have an UpDown control which is not repeating!

In VBA, when the mouse is held down on either the 'Up' or 'Down' button, the
events repeat.

In VB6, this does not appear to work consistently.

As a test, I created an .exe and had it working once but I am not able to
recreate the behavior.

How can one set an UpDown control such that the events repeat when the mouse
is held down?

Thanks & Regards,

TC
Douglas Marquardt - 19 May 2005 14:13 GMT
Hi TC:

Tested here (Win2k Pro, VB6 SP5) -- works fine.

The only thing I can think of.... what is the Increment set to?

hth,

Doug.

> Hello All,
>
[quoted text clipped - 16 lines]
>
> TC
TMan - 19 May 2005 19:29 GMT
Hey Douglas,

The increment value is set to 1.

I am using VB6 SP6 on WinXP Pro.

Which version are you using?

Regards,

TC

> Hi TC:
>
[quoted text clipped - 28 lines]
>>
>> TC
Douglas Marquardt - 19 May 2005 22:46 GMT
Hi TC:

As I mentioned in my previous post -- Win2KPro, VB6 SP5.

VB6 SP6 is too buggy (for me, anyways) so I don't use it.
Don't know if that's your problem or WinXP.

Doug.

> Hey Douglas,
>
[quoted text clipped - 40 lines]
> >>
> >> TC
TMan - 25 May 2005 02:12 GMT
Hey Folks,

Resolved my issue.

I hadn't attached the UpDown control to a buddy control.  Once I did this,
the repeating aspect of the UpDown control worked fine.

Regards,

T-Man

> Hi TC:
>
[quoted text clipped - 51 lines]
>> >>
>> >> TC
Douglas Marquardt - 25 May 2005 17:54 GMT
Hi TC:

Glad you figured it out.

Doug.

> Hey Folks,
>
[quoted text clipped - 62 lines]
> >> >>
> >> >> TC
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.