Blinking text lazarus / 31-LCL ---------------------------------------------------------------------- Elmug · 2011-08-17 05:47 Good people, I was wondering if there might be some simple way for text to show blinking. In the old DOS world it was a common thing for warning messages. I searched the web and found that there is some Unit Video, but I don't believe that's what I'd like to get into right now. Just wondering if there may be some other simple alternative. I realize I could use timer and change text colors or so, but again, not like that. I thought I better ask if there is some simple way. Not a critical thing, either. Thanks! ---------------------------------------------------------------------- felipemdc · 2011-08-17 08:24 I think that the timer is really the proper way to do this. ---------------------------------------------------------------------- felipemdc · 2011-08-17 08:25 I moved to the LCL because I suppose you are talking about the LCL here. If not, you need to specify more clearly which GUI library you are using. ---------------------------------------------------------------------- w click · 2011-08-17 08:31 I used a timer too simply changing the font colour every half second or so. ---------------------------------------------------------------------- Elmug · 2011-08-17 09:34 Good people. I'll try it in a good chance. I see now that although it's not a given, yet one would get so much more flexibility. Like even make the text go rainbows! But I can see that if an application is critical, at a point of warning, blinking text would be the way to go. Maybe even sound a buzzer, and I plan to check on that too later. Heck, could even make the Captain speak like "Are you sure you really want to fire the missile?"...And I suppose that would be done by playing a wave file or an mp3 at the time. (I'm getting many ideas and ways in which Lazarus can be used for good practical reasons, though). Thanks! ---------------------------------------------------------------------- avra · 2011-08-18 07:37 You seam not to like additional code you have to make for blinking something, and you consider it ugly and you are looking for some out of the box solution. This is exactly what you get when you expand existing components with additional functionality. Take a look at this blinking label component made in Delphi to get an idea: http://www.torry.net/vcl/labels/blink/blinklbl.zip p.s. You can't escape coding, but it's embedded in components functionality so users don't see it. Only component creators see it.