arschr wrote:
This is a project setting.
There is also a checkbox in the Field Properties tab "Generate as Nullable Typ"
(Note spelling mistake)
Yes I noticed that yesterday
I've corrected it already in the code. Was related to the 'standard' vs. 'system' flatstyle setting.
There's also a gap between the groupbox and the bottom line of the form, this is due to a bug in the UI controls of janus, they've fixed it also so that's fixed in the next build as well
Does the project setting set the default for the checkbox or how do they interact?
Correct. It's an initial value indicator. As there might be a lot of fields, you want a default value you can work with and which you'd change on a small set of fields. By default this setting is true, also for fields, so an older project will generate to nullable fields when applicable. You then switch off the fields you don't want to have as nullable field (if applicable).
For a new project, if you set it first to false, you'll get all checkboxes set to false for new fields.
It's a bit of a strange mechanism perhaps, but it's in general a setting you normally won't touch, unless you really need to avoid nullable types in your project.