[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 143
  • Last Modified:

setting a property as DBGrid

Hi

I am creating a component which needs to reference a DBGrid on the calling form.  How do I set up a published property in my component to allow the user to specify the grid at design time?

(The component is NOT a DBGrid derivative)

John
0
jdthedj
Asked:
jdthedj
1 Solution
 
eugenemCommented:
private
  fGrid : TDBGrid;
published
  property grid : TDBGrid read fGrid write fGrid;
0
 
jdthedjAuthor Commented:
Thanks Eugenem!
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now