Notifications
Clear all

[Closed] wirecolor dashboard

Hi,

here’s my first upload. It’s a script to easily change wirecolors. You could use these to create useful vrayWirecolor render elements.

I’ve used .NET listviews to make a compact interface. Every column is a single listview. You can click the items in the listview to perform different actions. It works but isn’t pretty. I’d like to use a single listview with clickable subItems. But I couldn’t get my head around it with the available help and bobo’s site about the .NET stuff. Could somebody help me create a listview with clickable subItems, or point me into the right direction?

Anyway, this script already saved me a lot of time. So i hope you’ll like it as well!

Greetings from Rotterdam,
Klaas

3 Replies

Hey,

i was wondering if a listview actually is the best solution to this problem. I need a grid of buttons. I stumbled accross the datagrid .NET control. Does anyone have experience with this thing? I gather the datagrid is a window to a database, but it might just be what i need. Every cell is clickable, so it could be convinced to be a button.

To be able to use the datagrid i probably need to create a database. Is this possible with maxscript arrays? Then i’ve got to connect the database to the datagrid and i need to define the actions to perform when a cell of the datagrid has been clicked. Am i on the right track here? If anyone could give me an example or point me in the right direction, i’d appreciate it.

Klaas

In my experience, many of the “data” controls are actually based on normal controls and extended to handle database data.

Having said that, I would most likely be possible to find a grid control that is database relient, or even find that the datagrid is capable of been “unchained” from the database.

so if i understand correctly, it could be possible to “abuse” a datagrid to be just a box of buttons. That would probably easier than to set up some fake database.

This means i’m going to dive into the .net docs on datagrids.

Any remarks on the script so far?

Klaas