I could make a personalization and change the border color on all the required fields then save that as a customization or I could just click on each one of the fields in developer mode and change the border color.
When I turn this option on it seems to be enabled for every form after that. I am looking for it to only outline required fields for a certain form- Case Entry.
I love the way this option works, I just wish that it was form specific.
Calvin, thank you for the suggestion. I would like to be able to highlight where on the form that the info needs to be put in. For example, in order entry it always starts at the summary screen. I know that there are required fields on the header and detail so I wish the row rule could do like @Vinaykamboj mentioned and highlight the tabs as well.
I donât recall for certain, but if the row rule allows for a custom action, then you could change the text of the tabs requiring input to have an exclamation mark. Or even change the style of the tab like the builtin function does.
Also, when you say ârequiredâ are you refering to the fields that Epicor requires (like Ship Via on a PO), or the fields your company has determined as being required (like how my company requires the Prod Group to be selected on Order Entry).
Both types of fields Calvin. I am using extended properties to control the ones we require.
I will have a look to see how I can change the style of a tab. I couldnât find that property in developer mode. I will hunt around on here to see if anyone has done it.
What I donât like is that this happens on every form if you turn that setting on. This is a new module for us so we would like to highlight the relevant fields. Every other form as been used for the past 5 years so it isnât necessary. Rest assured @Vinaykamboj , I intend to run the ârequiredâ option setting by the team.
So - yes I am " Necroposting". I am NOT a programmer⌠by choice (my brain can not hold all this) So I program Only out of necessity, when I am not working with a programmer. Right now I am working with a client that is running 2021.1.10
I am trying to highlight the border of EpiTextBoxes using the properties in Customization. They are NOT displaying the color. I have removed the AppStyling and I can see a border, but no coloring.
So then,
I tried to use some code that was in an older post (older than this one). @Chris_Conn you may recognize thisâŚ
This is the error I get and I have no clue where or how to find out which reference I am missing.
" Error: CS1061 - line 389 (1272) - âIce.Lib.Framework.EpiTextBoxâ does not contain a definition for âBorderColorâ and no extension method âBorderColorâ accepting a first argument of type âIce.Lib.Framework.EpiTextBoxâ could be found (are you missing a using directive or an assembly reference?)
Error: CS0103 - line 389 (1272) - The name âColorsâ does not exist in the current context"
@gpayne Thank you! Your assistance has gotten the property to change - but it is still not displaying the color on the screen?? I have enclosed an image of the property value (changed) and the form. I did set the AppStyling to false and then changed it to true. It has no effect on the textbox displaying the set color. Any ideas?
Below is my code:
public class Script
{
// Add Custom Module Level Variables Here **
EpiTextBox textBox;
public void InitializeCustomCode()
{
// ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Variable Initialization' lines **
// Begin Wizard Added Variable Initialization
textBox = (EpiTextBox)csm.GetNativeControlReference("cb451093-9c1a-4d49-9a0b-baceeb8e989b"); //POtextBox control handle
}
private void QuoteForm_Load(object sender, EventArgs args)
{
textBox.Appearance.BorderColor = Color.Blue;
}
@Marykay_Kowalski1 Sorry, No clue. I had not done a border color before last night. I would try turning off required fields to see if that is causing an issue.