| [Overview][Types][Classes][Procedures and functions][Variables][Index] | 
Ensures that a TList has been created before adding the specified object instance.
Source position: lazhelpintf.pas line 602
| procedure CreateListAndAdd( | 
| const AnObject: TObject; | 
| var List: TList; | 
| OnlyIfNotExists: Boolean | 
| ); | 
| AnObject | 
 | Object instance added in the routine. | 
| List | 
 | List instance created or updated in the routine. | 
| OnlyIfNotExists | 
 | Indicates if the object is added only when it does not already exist in the list. | 
| Version 4.0 | Generated 2025-05-03 | Home |