property color(pixelsperinch) does exist ?? |
尚未結案
|
danielldf
一般會員 發表:44 回覆:60 積分:20 註冊:2003-05-12 發送簡訊給我 |
|
fadichen
初階會員 發表:29 回覆:68 積分:29 註冊:2003-09-11 發送簡訊給我 |
|
danielldf
一般會員 發表:44 回覆:60 積分:20 註冊:2003-05-12 發送簡訊給我 |
|
danielldf
一般會員 發表:44 回覆:60 積分:20 註冊:2003-05-12 發送簡訊給我 |
在網上查了一下資料,介紹如下:"The reason for my confusion is this. I have the following:
TMyBaseClass = class(TFrame) with base class functionality, published
properties etc.
And then TMyDerivedClass = class(TMyBaseClass)
All of the above was in a package. Compile and install the package with no
problem. Drop a TMyDerivedClass on a form and I would get the error:
"TMyDerivedClass.OldCreateOrder property does not exist" and the same for
PixelsPerInch, TextHeight. In order to fix this I did the following: 1 - FUDGE...... Edit TMyDerivedClass DFM text to remove above properties. Recompile package
and all is well Then replaced 1 with this...... 2 - BETTER (I think), but not understood Add the above properties to TMyBaseClass.... Colour me confused.....”
可我試了還是不行,可能是我的這個文件損壞,只好用以前備份的去恢復。 努力过,还有什么遗憾呢!
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |