Solved

Problem with component: "Error reading QRAngledLabel1.FontSize: Property FontSize does not exist"

Posted on 2010-08-14
5
663 Views
Last Modified: 2013-11-23
Hello Experts :-)

I am a Delphi programmer. I use  TQRAngledLabel, it used to work fine, now I got this error message.

How could it happen?

I have source code for TQRAngledLabel but have no experience in writting components, what should I look at?

Thank you

panJames
0
Comment
Question by:panJames
[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 Comments
 
LVL 3

Assisted Solution

by:man2002ua
man2002ua earned 75 total points
ID: 33436728
This error may tell you:
1. You have changed delphi version
2. you have changed component version
0
 

Author Comment

by:panJames
ID: 33436827
To man2002ua: I didn't change anything.

panJames
0
 
LVL 3

Assisted Solution

by:piba
piba earned 125 total points
ID: 33436843
Are you having this problem at runtime or designtime?

I would check it the"current version of the component actually has that propery and if not edit the .DFM file with notepad to remove the property from there also..

If the property does exist in the code but the designtime editor does not see it then check to see it is in the "published" part of the type.

Also "installing" the component/package(.dpk) again in Delphi might solve the issue.
0
 
LVL 37

Assisted Solution

by:Geert Gruwez
Geert Gruwez earned 125 total points
ID: 33444024
there is no property FontSize in TQRAngledLabel

there is a property Font

however, the size of the font is defined by the property Height
which is a negative value

this can only happen if the dfm was messed up ...
by delphi or by editing the .dfm file manually

the delphi IDE will give a warning if it finds properties which have no "code counterpart"
saying this property does not exist

you can ignore these properties.

this can happen with using a newer version component in a older version of delphi too
ignoring the new properties allows the delphi ide to create the "old version"

>> just hit ignore and hit yes when asked to remove the property
0
 
LVL 8

Accepted Solution

by:
GeneralTackett earned 175 total points
ID: 33468543
simply edit the form in text mode using notepad and remove the offending property save and all is well.

It is because of a new version of the component and the property is either not exposed or present.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert GUI app into console app for Win32 Env 5 137
Graphics32 under Delphi 10.1 Berlin 2 185
Delphi: sending SMS on android platform 1 104
MS Access from Delphi 31 102
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

751 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