Textbox.bordercolor - does wiseJ do this?

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

In VWG we had BorderColor on most of our built in VWG controls.  I am not seeing that in intelli-sense and it appears to cause an error when I try to just type it in.

Does WiseJ support this?  If not, is there anything close that I could do?

I was going to put a red border around the textbox if it was required….

Thanks,

Shawn

  • You must to post comments
0
0

Hi Shawn,

I don´t see an attachment in your post.

Please find here a simple sample with one textbox that is set to “required”:

http://wisej.s3.amazonaws.com/support/attachments/BorderColorTest.zip

Hope that helps.

Best regards
Frank

  • You must to post comments
0
0

Thank you for the response.  I don’t know what the AppearanceKey.

Are you saying that the textbox would have a “normal” appearance, then if I did the mixin, and set .AppearanceKey = “Required”, that it would than have a red boarder?

Sorry to ask such a basic question, but I don’t appear to know what I am doing 🙂

I have attached the mixin file that I created.

  • You must to post comments
0
0

Hi Shawn,

there are a couple of ways to achieve this. One is using a theme mixin
where you can control much more than just the border color.

Here is a simple sample:

{
“appearances”: {
“required”: {
“inherit”: “textbox”,
“states”: {
“default”: {
“styles”: {
“width”: [ 1, 1, 1, 1 ],
“style”: [ “solid”, “solid”, “solid”, “solid” ],
“color”: “red”
}
}
}
}
}
}

Just create a new file called e.g. RequiredRed.mixin.theme, set it´s content to the lines above and add it to your Themes folder.

Then change the AppearanceKey of required TextBoxes to “required” and they appear with red border.

Hope that helps.

Best regards
Frank

  • You must to post comments
Showing 3 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json