Главная страница | назад





Article #16246: 'Property is write-only' when installing OCX

 Question and Answer Database
FAQ1246C.txt 'Property is write-only' when installing OCX
Category :Install Issues
Platform :All
Product :C++Builder 1.x
Question:
I'm getting a "Property is write only" error when installing
an OCX to the component palette. What is going wrong here?
Answer:
While there is no solution that will work for this problem
in all cases, in many cases it is merely necessary to change
the description of the property in the .pas file
created for the OCX and then rebuild the component palette.
In the InitControlData procedure in the .pas file constructed
for your OCX, change:
Flags: $0000002F
to
Flags: $00000000
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99