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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
213 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
125 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
145 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
228 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
189 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment