|
-
Nov 7th, 2008, 12:33 PM
#41
Hyperactive Member
Re: [RESOLVED] [2005] Scrolling Label Text
lol .. i'm afraid your right .. changed .. and scrolling is good now .. text is also updated
-
Nov 7th, 2008, 04:10 PM
#42
Hyperactive Member
Re: [RESOLVED] [2005] Scrolling Label Text
off topic:
what would happen if the xml is saved at the same time that the xml script from above is reading the file .. would the scroll text/interface hang?
i should make a script to test this ..
-
Nov 7th, 2008, 09:24 PM
#43
Thread Starter
Hyperactive Member
Re: [RESOLVED] [2005] Scrolling Label Text
Not really sure. You could get an Access Denied on either side.
"Don't try to be a great man. Just be a man and let history make its own judgement."
-
Nov 7th, 2008, 10:23 PM
#44
Re: [RESOLVED] [2005] Scrolling Label Text
 Originally Posted by obi1kenobi
Great control! I think you should post it in the CodeBank!
@jmcilhinney: The scrolling text link in your signature is missing the C# link.
Yeah, that's on purpose because I haven't written the C# version yet. Now's as good a time as any I suppose...
-
Nov 7th, 2008, 11:21 PM
#45
Re: [RESOLVED] [2005] Scrolling Label Text
 Originally Posted by jmcilhinney
Yeah, that's on purpose because I haven't written the C# version yet. Now's as good a time as any I suppose...
...Done.
-
Nov 24th, 2008, 06:59 PM
#46
Hyperactive Member
Re: [RESOLVED] [2005] Scrolling Label Text
when i use larget text with quit a few chars .. and the texts is totally away on one side ... it takes quit some time before the text appears again on the other side .. the marquee control is empty for a few seconds .. any ideas? is this coded in the marquee control itself?
-
Nov 24th, 2008, 08:09 PM
#47
Thread Starter
Hyperactive Member
Re: [RESOLVED] [2005] Scrolling Label Text
 Originally Posted by Amien
when i use larget text with quit a few chars .. and the texts is totally away on one side ... it takes quit some time before the text appears again on the other side .. the marquee control is empty for a few seconds .. any ideas? is this coded in the marquee control itself?
Is that directed to me or jmcilhinney?
If it is towards me it probably has something to do with the math on the OnPaint event. I'll take a look at it tomorrow.
What font and size are you using?
"Don't try to be a great man. Just be a man and let history make its own judgement."
-
Nov 24th, 2008, 08:15 PM
#48
Re: [RESOLVED] [2005] Scrolling Label Text
 Originally Posted by .NetNinja
Is that directed to me or jmcilhinney?
Yeah, especially in long threads it's a good idea to quote the post you're referring to. Even if you think it's obvious that you're referring to the one directly above, there's no guarantee that someone else won't slip a post in just before you.
-
Nov 25th, 2008, 01:39 AM
#49
Hyperactive Member
Re: [RESOLVED] [2005] Scrolling Label Text
your right .. the message was too .NetNinja
font is calibri .. size 36
-
Nov 25th, 2008, 08:40 AM
#50
Thread Starter
Hyperactive Member
Re: [RESOLVED] [2005] Scrolling Label Text
 Originally Posted by Amien
your right .. the message was too .NetNinja
font is calibri .. size 36
I used one that was around 85 characters long. With the font details your provided and I am not seeing a delay. What is the size of the control? Do you sample string you are using?
"Don't try to be a great man. Just be a man and let history make its own judgement."
-
Nov 25th, 2008, 08:58 AM
#51
Hyperactive Member
Re: [RESOLVED] [2005] Scrolling Label Text
size: 1270; 74
i'm using about 220 chars .. the more chars i use the longer the cap. When i use only a few chars .. i have no problem. looks like the longer the string .. the longer the cap
Last edited by Amien; Nov 25th, 2008 at 09:04 AM.
-
Nov 25th, 2008, 09:05 AM
#52
Thread Starter
Hyperactive Member
Re: [RESOLVED] [2005] Scrolling Label Text
I'm honestly not seeing an issue with it. I just did a sample string with 220 characters with no problem.
"Don't try to be a great man. Just be a man and let history make its own judgement."
-
Jun 30th, 2009, 06:42 PM
#53
Member
Re: [RESOLVED] [2005] Scrolling Label Text
Hope you don't mind i changed it up a bit to scroll up and down.
thanks a lot man.
-
Jun 30th, 2009, 07:21 PM
#54
Re: [RESOLVED] [2005] Scrolling Label Text
how about a 'marquee' inside of a listview cell or datagridview cell?
this would be sweet. then you could set the width of the column to avoid nasty scrollbars and if the text extends past the visible area, then it marquees.
-
Jul 1st, 2009, 02:52 AM
#55
Frenzied Member
Re: [RESOLVED] [2005] Scrolling Label Text
Good idea but perhaps it would be better suited to WPF since the marquee is quite a performance hog on older machines... It used 20% CPU on our old school computers :S
Please rate helpful ppl's posts. It's the best 'thank you' you can give 
-
Oct 20th, 2009, 01:17 PM
#56
Addicted Member
Re: [RESOLVED] [2005] Scrolling Label Text
Hi all
can anyone post the sample app please how to use it ??
thx
-
Dec 8th, 2009, 07:24 AM
#57
New Member
Re: [RESOLVED] [2005] Scrolling Label Text
 Originally Posted by .NetNinja
I'm honestly not seeing an issue with it. I just did a sample string with 220 characters with no problem.
So, I know this thread has been basically dead for over a year, but I've just stumbled across it; it's a great control, and I'm looking to accomplish something similar to what this does, with a few alterations...
I need two text fields, a "header" and a "body" (a bit like on the TV News, where "BREAKING NEWS " is the header and then "As usual, nothing newsworthy happened today" would be the body, but both in different colours.
Any idea whether this could be accomplished with a few modifications to this control, or would I have to start from scratch?
I've modified it to include (and concatonate) the header and body, but have got stuck on the different colours part.
Sorry if this is dragging up an old thread, and making you have to rack your brains about this control again, I'm fairly new to Custom Control writing!
Thanks
DamoUK
-
Dec 25th, 2009, 08:10 PM
#58
Lively Member
Re: [RESOLVED] [2005] Scrolling Label Text
thats cool but how do you use this in your own app if you made a module/class with just the code to show the marque we could then import that file and use the function/sub??
-
Nov 21st, 2011, 06:42 PM
#59
New Member
Re: [RESOLVED] [2005] Scrolling Label Text
Hi
this is great, it fits in what i have to do.
I have noticed one Bug that I think needs fixing.
If you enter more Text than the Size of the textLabel, it gets truncated in the Marquee.
Is this something that can be fixed.
So if the Label is 200 characters and you enter 300 in the property. Its gets truncated when run.
I plan to adopt it for a Multi screen enviroment, where I hope its can be strectched asone continious scroll. It may not be an issue for me, but its does show up on a single screen
Steve
-
Nov 21st, 2011, 06:48 PM
#60
Frenzied Member
Re: [RESOLVED] [2005] Scrolling Label Text
You might want to consider WPF for that, actually... Repeated multi-screen-size drawing on CPU is making me shudder just thinking about it
Please rate helpful ppl's posts. It's the best 'thank you' you can give 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|