|
-
Mar 30th, 2020, 11:29 PM
#1
VB6 HTMLGrid-UserControl
A (Property-wise) quite simple to manage Grid-Control (with not much Code in it, only about 150 lines),
which makes use of the nicer Formatting-Options of HTML-rendering...
It uses an internal (dynamically loaded - and LateBound) MS-WebBrowser-control, to visualize the Grid.
Also included in the project is the cIEFeatures.cls, which will "lift-up" the IE-BrowserControl to more modern versions.
(Note, that it will probably not render properly on XP - maybe it does - but I'm not testing stuff on that OS anymore)
I've made this example, since recent questions were asking for "InCell-Formatting-options" -
and this Demo shows, how such an HTML-based Grid can handle this requirement.
The "Filling" of that Grid is based on an "HTML-string", which one has to concatenate himself
(using the relative short <tr>, <th> and <td> tags).
The Demo generates this String from a normally selected ADO-Rs in a Loop
(using String-Arrays for the build-up, which later get Joined when they are passed as the Grids InputString).
Here is a ScreenShot:

And here the little Demo:
HTMLGrid.zip
Have fun,
Olaf
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|