Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1036

How to approach a grid of controls

$
0
0

I'm trying to create a dialog that has a grid of "records", each record having a set number of "columns" (other form controls, such as DzCheckBox, DzLineEdit, etc).

I have been able to more or less achieve basic functionality by creating a DzVGroupBox, setting DzVGroupBox.columns to the number of controls I want in the "grid", then manually adding a row of DzLabels, then a row of each set of controls, keeping track of them as an Array of Objects.

This works fine until I want to remove a "record", or all records.

How can you remove controls from a DzDialog (or any DzWidget for that matter)?
I'm open to other approaches to solving this problem as well. I have explored the DzListView, but that seems to not support various controls, nor editability, though to be fair, I've only figured out how to display text, so I may be missing something fundamental there as well.

Thanks for the help.


Viewing all articles
Browse latest Browse all 1036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>