Update Form Designer - Better style for generated code.
@@ -2066,9 +2066,15 @@ class CommonAttributesMethods
cOutput = substr(cOutput,"#{f6}",textcolor())
cOutput = substr(cOutput,"#{f7}",backcolor())
cOutput = substr(cOutput,"#{f8}",fontproperty())
- cOutput = substr(cOutput,"#{f9}",GenerateCustomCode())
+ cOutput = substr(cOutput,"#{f9}",AddTabs(GenerateCustomCode(),3))
return cOutput
+ func AddTabs cText,nCount
+ cTabs = std_copy(char(9),nCount)
+ cText = cTabs + cText
+ cText = substr(cText,nl,nl+cTabs)
+ return cText
+
func GenerateCustomCode
return ""
