Welcome! Log In Create A New Profile

Advanced

Border color button

Posted by Sjaak 
Sjaak
Border color button
October 23, 2012 10:28AM
Hi,

How can I change the border color of a button and/or an editfield by programming?

Thanks in advance!
Marc De Swert
Re: Border color button
October 23, 2012 11:56AM
Use ..Color for text and ..BrushColor for background

BUTTON:
BT_COLOR..Color = iLightYellow //TEXT COLOR
BT_COLOR..BrushColor = iDarkRed //BACKGROUND COLOR

EDITFIELD:
ED_COLOR..Color = iLightGreen //INPUT TEXT COLOR
ED_COLOR..BrushColor = iDarkBlue //BACKGROUND COLOR


MARC :cool:
Sjaak
Re: Border color button
October 24, 2012 07:10AM
Thanks for your reply Marc!

The thing is, I already know how to change these colors. But, I would like to change the color of the border. It must be different from the brushcolor.

Do you know how to do this?

Regards,
Sjaak
Marc De Swert
Re: Border color button
October 24, 2012 07:49AM
I think that you have to call style
and do this programmaticaly,

marc:cool:
Sjaak
Re: Border color button
October 24, 2012 08:01AM
Wow, that's quick Marc. Thanks again! I will look into it.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: