How to change form label


(Surendra Pal) #1

do we have a way to change form label with any customization like back end db table stores schema in Ice.ZDataField.


(Jose C Gomez) #2

A simple screen customization will do

-Jose


(Pierre Hogue) #3

I use the following custo for all my modified forms. Under the load event of the form. Showing the customisation name and environment, s often I open different environments at the same time.

	EpiBaseForm form = sender as EpiBaseForm;
	var tes = (Ice.Core.Session)oTrans.Session;
	string EnvFull = test.AppServer.ToUpper();
	int index = EnvFull.IndexOf("TRAINING");  
	
	Environ = "";
	
	if(index != -1)
	{
		Environ = "TRAINING";

	}
	else 
	{
		index = EnvFull.IndexOf("TEST"); 
		if(index != -1)
		{
			Environ = "TEST";

		}
		
		//else it is the production env....no need to show...	
	}
		
    
	if(form != null)
		form.Text += " - " + form.CustomizationName + ( Environ == "" ? "" :  " (" + Environ + ")");

Pierre


(Surendra Pal) #4

thanks @josecgomez for quick reply. I know this way but I have requirement around 10 screen label to be updated so looking the way without customization if not then customization final way to do but will take more time.


(Jose C Gomez) #5

You could try the Language Settingsā€¦


(Surendra Pal) #6

I am working on this option will update you results thank you