Re: Scrolling text in a stationary label help needed
- From: "Mike Williams" <mike@xxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Sep 2006 19:36:05 +0100
<jcrouse1@xxxxxxxxxxx> wrote in message
news:1158773565.459114.219620@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Mike, Here is the code I settled on. I am not sure whay
the example scrolls so slowly but in my app it works
perfectly, VERY nice.
Are you *sure* this is the code you have settled on? If so then I would
advise you to change your mind straight away. I don't mean that in a nasty
sort of way. I'm just pointing out, as politely as I can, that if the code
you are using is anything like the code you just posted then you've got the
logic of it all wrong. In your example the code isn't runnng in a Timer at
all. The Timer only actually fires once in your code (the very first time)
and thereafter your Timer event code "grabs the lot" and runs in a never
ending Do Loop, inside the Timer event. The code never leaves the Timer
event. You can't simply paste a "non Tmer" version into a Timer event block.
You've got to actually program it differently. Have a look at the Timer
event code I posted yesterday (or was it the day before?) and you'll see how
it is done.
There are lots of other things wrong with the code you posted, but it really
isn't worth going into the details of them because the basic logic of it is
all wrong. Post back when you've had a look at the Timer code I posted and
compared it to your own.
Mike
.
- Follow-Ups:
- Re: Scrolling text in a stationary label help needed
- From: jcrouse1
- Re: Scrolling text in a stationary label help needed
- References:
- Scrolling text in a stationary label help needed
- From: jcrouse1
- Re: Scrolling text in a stationary label help needed
- From: Dmitriy Antonov
- Re: Scrolling text in a stationary label help needed
- From: jcrouse1
- Re: Scrolling text in a stationary label help needed
- From: Dmitriy Antonov
- Re: Scrolling text in a stationary label help needed
- From: Mike and Maureen
- Re: Scrolling text in a stationary label help needed
- From: Mike Williams
- Re: Scrolling text in a stationary label help needed
- From: jcrouse1
- Re: Scrolling text in a stationary label help needed
- From: jcrouse1
- Re: Scrolling text in a stationary label help needed
- From: jcrouse1
- Re: Scrolling text in a stationary label help needed
- From: jcrouse1
- Re: Scrolling text in a stationary label help needed
- From: Mike Williams
- Re: Scrolling text in a stationary label help needed
- From: jcrouse1
- Re: Scrolling text in a stationary label help needed
- From: Mike Williams
- Re: Scrolling text in a stationary label help needed
- From: jcrouse1
- Re: Scrolling text in a stationary label help needed
- From: jcrouse1
- Scrolling text in a stationary label help needed
- Prev by Date: Re: VB6 Option Group
- Next by Date: Re: MS: Vista Apps Must Be 'Cool'
- Previous by thread: Re: Scrolling text in a stationary label help needed
- Next by thread: Re: Scrolling text in a stationary label help needed
- Index(es):
Relevant Pages
|