It can be important to know if a database is running as a Matrix database or as a Component Database. Here is an easy snippet of code to put in your Database On Startup method to launch the component; in this case, 4D Pop. It would be easy to include any other code or flags to the code, and use it for more than the 4D Pop component.
|`This line checks if database is currently a Matrix or Component|
If ((Structure file=Structure file(*)) & Not(Is compiled mode))
If (Find in array($Components_aT;"4DPop")>0)
`Add other code here