Print Page | Close Window

Component as Plugin

Printed From: TMS Software
Category: VCL Components
Forum Name: VCL Plugin
Forum Discription:
URL: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=7385
Printed Date: 14 Dec 2019 at 1:23am


Topic: Component as Plugin
Posted By: Zorlu Yusuf
Subject: Component as Plugin
Date Posted: 16 Jan 2017 at 1:41pm
Can we create a plugin i.e. for our own tmyTable, tmyQuery, tmyDatabaseConnection?

So we could create a plugin for mysql, postgresql etc and our users can use the needed plugin to use the database. What we make is to create 

tmyTable = class(tmysqltable) or tmytable = class(tpostgresqltable) in our bpl...

Would this be possible with tms-plugin-framework?



Replies:
Posted By: Bruno Fierens
Date Posted: 16 Jan 2017 at 5:31pm
Yes but it will require some work to define the interfaces that will expose these databases classes from plugin to host app.
In plugin demo 3, see the example that uses such interface to expose a plugin tab to a tabsheet.



Posted By: Zorlu Yusuf
Date Posted: 20 Jan 2017 at 7:32am
Is it possible that the demo's are not installed in latest version of TMS Plugin Framework?


Posted By: Nancy Lescouhier
Date Posted: 20 Jan 2017 at 4:41pm
The demos are normally deployed under \My Documents and there should also be a link added in the Windows start menu



Print Page | Close Window