[Lazarus] WinControl.CanFocus

Juha Manninen juha.manninen62 at gmail.com
Mon Jun 8 15:51:18 CEST 2015


Another thing:
Paul changed documentation for this method in r36803 at 2012-04-16.
Why does it not show here? :
 http://lazarus-ccr.sourceforge.net/docs/lcl/controls/twincontrol.canfocus.html

I don't know the details of generating the documentation. Maybe it
shows somewhere else. (?)

Paul's diff:
       <!-- function Visibility: public -->
       <element name="TWinControl.CanFocus">
         <short>Is this control allowed to receive the focus?</short>
-        <descr>A control can get the focus only when all of its Parents
-          are Visible and Enabled.
-        </descr>
+        <descr>A control can get the focus only when all of its
Parents except the form are Visible and Enabled.
+While CanFocus checks all control parents it does not check whether a
form control is placed on can have focus.</descr>
         <errors/>
         <seealso/>
       </element>




More information about the Lazarus mailing list