ds_SetFieldColor


ds_SetFieldColor (tableNum; fieldNum; automatic; newcolorIndex) <- errorCode
Parameter Type Description
-> tableNum Integer Table number
-> fieldNum Integer Field number
-> isAutomatic Integer Default color(1) or no (0)
-> colorIndex Integer Color
<- errorCode Long Integer Error Code (0 = no error)


Changes information about the field color (in the structure window). If isAutomatic is 1, the Color is "Default". Else, colorIndex is the color in the 256 colors palette of 4D. Numbers start at 1 and end at 255.