Hi!
1. Create new application
2. Create new DataModule
3. Drop one Sqlite3Dataset to DataModule
4. Drop one DataSource to DataModule
5. DataSource.dataset:= Sqlite3Dataset
6. Drop on DBGrid to form1
7. DBGrid.DataSource:=DataModule.DataSource
Now, I want to access the DataModule/Dataset/AfterOpen event from the Form1, so:
8. Click on the DBGrid events Datasource Dataset AfterOpen event
9. Fill this event empty: //
After run, I get exception: Invalid value for property.
What's wrong?
Thank you.
Lazarus 1.6.4 (64 bit)