Just a very basic Property-Grid, thought as a base for your own enhancements.
The two User-Controls (ucPropertyGridStripe and ucPropertyGrid) contain in Sum only about 100 lines of Code,
so it's still relatively easy to understand how everything plays together - before you adapt the thing to your
own purposes (e.g. currently only plain-textfields are used, but depending on the Rs-Field-Type, a CheckBox
could be shown for Boolean Rs-Fields, etc.).
Nonetheless, the small thingy already scrolls properly - it already contains an .EnsureVisible method and
it reacts to changes on the outside Rs - and it raises Field-Change-Events appropriately - that's what the
small Demo-Form is trying to show.
Download here:
http://vbRichClient.com/Downloads/Si...opertyGrid.zip
and the usual ScreenShot:
![]()
Olaf
The two User-Controls (ucPropertyGridStripe and ucPropertyGrid) contain in Sum only about 100 lines of Code,
so it's still relatively easy to understand how everything plays together - before you adapt the thing to your
own purposes (e.g. currently only plain-textfields are used, but depending on the Rs-Field-Type, a CheckBox
could be shown for Boolean Rs-Fields, etc.).
Nonetheless, the small thingy already scrolls properly - it already contains an .EnsureVisible method and
it reacts to changes on the outside Rs - and it raises Field-Change-Events appropriately - that's what the
small Demo-Form is trying to show.
Download here:
http://vbRichClient.com/Downloads/Si...opertyGrid.zip
and the usual ScreenShot:

Olaf