Note: I realize it never did set any default value -- it just affected the GUI.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
[DefaultValue)] in NT 8?
Collapse
X
-
[DefaultValue)] in NT 8?
The [DefaultValue(value)] attribute worked in NT7, but it does not seem to be working for me in NT8. Does it no longer work in NT 8, or am I making some mistake? If it does not work, is there an equivalent in NT 8?
Note: I realize it never did set any default value -- it just affected the GUI.Tags: None
-
In NT 7 [DefaultValue (value)] just changed the font to bold for any property whose value got changed to a non-default value. It was just a visual cue to let the user know which settings were now non-default.
[Display] is not related other than that I would suppose that the best way to implement a default value in NT 8 would be to add a "Default" field to [Display]
-
Up to you. It's nice, but not really a big deal. Given the choice I'd rather have you address my 9-year-old request for tooltips on AddPlot() and AddLine() items.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
63 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
91 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
48 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
105 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
63 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment