You are not logged in.
Pages: 1
Hi,
how is the right way to use Option in mormot?
i read documentation and i see SQLite3UIOption.
I understand that i can create an object (TSQLRecord descendant??) and pass it to TOptionsForm to show ed edit all properties. it's right?
thanks,
Emanuele.
Offline
Yes, it is the case.
You can create a tree of options, with on-the-fly creation of screen.
But there is no sample code yet available.
The SQLite3UIOption unit has a lot of comments for all its properties and method.
That's all what is available by now.
You can also use a good old TSQLRecord, then call SQLitE3UIEdit.
This is for instance how SynDBExplorer does for its connection options, and it is pretty easy to work with.
And source code is provided here.
Offline
thanks ab,
when i will integrate option with SQLite3UIOption in my application i'll post the code for example.
Emanuele.
Offline
Pages: 1