.


:




:

































 

 

 

 





C++Builder . , VCL :

.

, , F . Width TControl FWidth.

, , private. , , , - .

, .

: , , . - , , .

. read write , , . . , .

read write . , , . , , .

, . C++Builder default, , .dim ( stored ).

6.3 IsTrue, true, , . , false, , ( ) 0, .. false.

class TMyComponent: public TComponent { private:

Boolean FIsTrue;

public:

virtual _fastcall TMyComponent(TComponent* AOwner);

_J?ublished:

_property Boolean IsTrue =

{ read=FIsTrue, write=FIsTrue, default=true };

};

_fastcall TMyComponent::

TMyComponent (TComponent* AOwner): TComponent (AOwner) {

FIsTrue = true;

}





:


: 2015-10-01; !; : 371 |


:

:

, , .
==> ...

2110 - | 1756 -


© 2015-2024 lektsii.org - -

: 0.01 .