I have two own VCL ( VCL1 and VCL2 ) where I declare:
TBorderStyle ... (bsNone, bsSingleFlat .. )
Bouth vcls have a BorderStyle property.
When create VCL2 I wish to create a VCL1 inside VCL2.
VCL.Border := bsNone; // Here I have a problem
The compiler told me that VCL1.BorderStyle isn't compatible with VCL2.BorderStyle ?!?!?
What to do ? The declarations for BorderStyle are the same .