Orange background for some calculations

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Orange background for some calculations

Postby gdotzlaw » Mon Aug 03, 2009 10:23 pm

In the "Edit Table View", on the calculations tab, every once in a while I see a calcualtion that is highlighted with an orange background. What does this mean?

I seem to recall that this meant a reserved name was being used, but the columns I am seeing highlighted with an orange background are things like:
bgColor Text
multiSelect Text
clc_primaryCommunication Text

I can not imagine that these are now reserved names in Servoy 4.1 (they were not in Servoy 3.5.10), but if they are, how do we rename these so that the form's using this calc for their bgColor calculation are not affected?
Gary
---------------------------------------------
Dotzlaw Consulting
User avatar
gdotzlaw
 
Posts: 106
Joined: Fri Jul 13, 2007 11:17 pm
Location: Winnipeg, MB, Canada

Re: Orange background for some calculations

Postby ROCLASI » Mon Aug 03, 2009 10:48 pm

Hi Gary,

They are orange because you use casing in the names. If I am not mistaken Servoy likes to have all fields/calcs to be all lowercase.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Orange background for some calculations

Postby gdotzlaw » Mon Aug 03, 2009 10:50 pm

I see now that any calc field using camel case is highlighted in Orange.

Can someone confirm that only lower case calc field names is now recommended, and hence the orange background warning? No tooltip offered as is the case with column names that are highlighted in orange.
Gary
---------------------------------------------
Dotzlaw Consulting
User avatar
gdotzlaw
 
Posts: 106
Joined: Fri Jul 13, 2007 11:17 pm
Location: Winnipeg, MB, Canada

Re: Orange background for some calculations

Postby gdotzlaw » Mon Aug 03, 2009 10:52 pm

Sorry, I guess you were typing while I was typing.

Okay, thanks. I will see what I can do with Search and Replace to change them all to lower case.
Gary
---------------------------------------------
Dotzlaw Consulting
User avatar
gdotzlaw
 
Posts: 106
Joined: Fri Jul 13, 2007 11:17 pm
Location: Winnipeg, MB, Canada


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 5 guests

cron