I agree with Kyley - the code as written always calls the
TMetafile.Create
because ImgType is always forced := 1 (ignoring the
value passed as a parameter
to the procedure)
If you remove the
ImgType :=
1;
then TMetaFile.Create gets
called if you pass 1 and TBitMap.Create gets
called if you pass
2
|
Title: Message
- [DUG]: polymorphism problem Jianming Lin (ASL)
- RE: [DUG]: polymorphism problem Kyley Harris
- Re: [DUG]: polymorphism problem Nello Sestini
- Re: [DUG]: polymorphism problem Dennis Chuah
- RE: [DUG]: polymorphism problem Andreas Toth
- Re: [DUG]: polymorphism problem Dennis Chuah
- RE: [DUG]: polymorphism problem Andreas Toth
- RE: [DUG]: polymorphism problem Jianming Lin (ASL)
- RE: [DUG]: polymorphism problem Kyley Harris
- RE: [DUG]: polymorphism problem Jeremy North
- Re: [DUG]: polymorphism problem Nello Sestini
- RE: [DUG]: polymorphism problem Jianming Lin (ASL)
- Re: [DUG]: polymorphism problem Dennis Chuah