Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Component Property Editor Problem

Status
Not open for further replies.

Glenn9999

Programmer
Jun 19, 2004
2,312
US
Referencing the thread here:

thread102-1594218

I'm still trying to figure this out. Does anyone have any ideas?

It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
 
Alright. I was able to make a type limited string (String[150] specifically) and not have the property editor trigger on that property, where the other strings did trigger it. I would suppose the Delphi IDE kicks in on the base data type as the compiler reads it instead of the user-given type definition?

What I was wanting to do was make the corresponding control available for all properties identified as "TPathName" where TPathName = string, but I guess the compiler resolves TPathName to be exactly equal in type to string...

It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
 
Got it solved now. Made TPathName to be string[255] and now the property editor only triggers on the values that it should. Thanks for reading!

It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top