[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

TSeed looses Glyph

Posted on 2000-04-06
11
Medium Priority
?
249 Views
Last Modified: 2013-12-02
Hi, I know this component is probably bugged, but I would like to avoid changing

what happens is this : I use a TSpeed button with one image in it only

most of the time everything is fine, but from time to time, the component will simply forget it has an image to show and switches to transparent.

when I press the button, I will see the image alright, but when I release it again, the image disappears again.

does somebody have a simple answer to this question?

Regards, Marc
0
Comment
Question by:mhervais
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
11 Comments
 
LVL 9

Expert Comment

by:ITugay
ID: 2689471
Is it possible your windows is out of resources?
----
Igor.
0
 
LVL 17

Expert Comment

by:inthe
ID: 2691282
0
 
LVL 4

Author Comment

by:mhervais
ID: 2691354
I tried but my computer already had the latest version of the common controls.

Is it the first time you hear about this one?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 17

Expert Comment

by:inthe
ID: 2691663
no heard of this type of problem several times,usually graphics cards stuff(like lowering from 32bit to 24 ,or lowering harware acceleration etc)can fix it or sometimes updating commctrl sorts it out..is the  "show icons in all possible colors" setting checked in your windows?
how many colors does the icon(glyph)have,i mean try it with a glyph with less colors and see if there any improvement..its hard to point a finger to definite solution on this one.
0
 
LVL 4

Author Comment

by:mhervais
ID: 2691824
So probably if I want it to be definitely stopped, I will have to use another class of buttons no? or to make mine myself with some images

Anything to recommend?
0
 
LVL 17

Expert Comment

by:inthe
ID: 2694780
well i am presuming you are using a imagelist for the glyph,(this is most likely whats causing the problem),so i would first try setting the glyph to a file(local on harddisk)and get rid of imagelist to see if it stops the error.
even try using a differetn image with less colors to check if that helps.



0
 
LVL 4

Author Comment

by:mhervais
ID: 2694815
Well actually, I set the image during design mode by clicking on the glyph property.

Then I saw a property editor in which I loaded the image from a file.

I guess than then the image is stored by the form.

I think that instead I could load it from stream (I have a database) or from a file from time to time. It would reduce the duration of the problem.

But is this not a more complicated solution than simply change of component?
0
 
LVL 17

Expert Comment

by:inthe
ID: 2694846
what about using normal tbutton ;-)
or some other button from torrys or dsp
i generally use other components from standard simply for better looks..i dont think ive ever actually used tspeedbutton andn rarely use tbutton except for testing e.e stuff.
0
 
LVL 4

Author Comment

by:mhervais
ID: 2695158
I want an image in it

It is probably what I will have to do although I wanted to avoid it
0
 
LVL 17

Accepted Solution

by:
inthe earned 150 total points
ID: 2695227
remember you can also use a tbevel and use a normal timage on top of it using the timages onclick events to act as button..
0
 
LVL 4

Author Comment

by:mhervais
ID: 2695530
thanks Barry. I really forgot about this one

regards, Marc
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question