Print Page | Close Window

VB6 Grid control design populate from Data Source

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=24593
Printed Date: 17 August 2025 at 6:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: VB6 Grid control design populate from Data Source
Posted By: fierikit
Subject: VB6 Grid control design populate from Data Source
Date Posted: 14 August 2025 at 9:56am
Hi
we bought Codejock to dismiss older suites, now i speak about APEX TrueDBGrid.
with APEX TrueDBGrid we can create a grid at Design Time binding it to a Data Source (ADODataControl or ADO Recordset); we use to do:
At design time:
1) in a form create and populate a Data Source + empty TDBGrid
2) Set TDBGrid.DataSource = MyDataSource
3) RightMouse to the control and choose command 'Retrieve Filelds' --> Will set all Column Name and DataType <-- This is the fantastic tool we use and need
4) Copy the Grid and Paste in the form we need

we have to change more than one hundred Grid, if can create Codejock Grid that way we can save weeks of work.

I hope i have explained my matter
Have a nice day
Alberto


-------------
Fierikit



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net