Page 1 of 1

Visual Designer FLAT controls.

Posted: Sun Mar 07, 2004 11:52 pm
by thefool
Hi!
It would be great if a FLAT propety could be set to buttons and other controls. It creates a nice effect under all M$ Win's.
Easy to do, but it would be nice to have it as an option in VD.

Ex:
You need to set this:

#BS_FLAT=$8000

Then its just like this:
ButtonGadget(#Button_1, 130, 170, 100, 20, "Exit",#BS_FLAT)


Regards, thefool

Posted: Mon Mar 08, 2004 12:16 am
by freak
You can simply add that yourself.
Just edit the "Visual Designer Constants.prefs" file in your PB directory,
there you can add new constants like this one to a gadget.

Add this for example:

Code: Select all

Button,	  32768 , BS_FLAT	   , $8000

Timo

Posted: Mon Mar 08, 2004 12:57 am
by thefool
Ahh! Thanks :)