dark background with UI elements

I don't even know how to call it, but I want smth like this

http://www.scriptspot.com/files/bg.jpg

but when I use

dotnetcontrol darkbg "label" pos:[50,0] width:400 height:100 border:false
...
on BitmapLister open do 
		(
	darkbg.backcolor = (dotnetclass "System.Drawing.Color").slategray
		)

I get this:

http://www.scriptspot.com/files/bg_result.jpg

AttachmentSize
bg.jpg77.02 KB
bg_result.jpg58.4 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
artrender.info's picture

yes

because of the time! Thanl you for you time, barigazy!

artrender.info's picture

Thx

I think I won't use dark bg at all then!

barigazy's picture

:)

Can I ask you why? :)
I most cases .net will help you achive beter look of your UI, but in the end you realize that you withdraw more time than main controls functions.

barigazy

barigazy's picture

You can't combine or add any

You can't combine or add any mxs control inside .net control.
To solve this you have 2 choisese:
#1 you can use standard dialog (rollout) and .net "Panel" object to represent ui
background. But all others controls like labels,buttons,textboxes need to be also .net objects.Example http://www.scriptspot.com/3ds-max/scripts/3incampack-jumper-cam
#2 use .net "Form" in combination with .net objects.
Example:http://www.scriptspot.com/3ds-max/scripts/scriptrun
Also you can assigne beckground color to your rollout but sometime you will get flickering over controls. I personally try to avoid this method.

barigazy

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.