Jerry
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Using Visual Studio designer to edit ChartTrader forms
Collapse
X
-
Using Visual Studio designer to edit ChartTrader forms
Is there a way to import the code to add one or more of the ChartTrader buttons you can find in the forum into Visual Studio and then use the designer to be able to View , Alter and Add more Controls. It seems a logical step to do this rather than play with the grid code in N.S editor. Can anyone walk me thru this. The first problem I know about is that project output comes in as a DLL library which displays no output. I believe it needs to be set to WPF desktop app. and the code needs to be inside some main form and I don't know how to get the ChartTrader form in.
JerryTags: None
-
Hello JerryWar,
The samples you are referring to don't use xaml so those wouldn't be able to be previewed in visual studios xaml editor. The chart Trader is a built in control so you wouldn't have access to its original source code and xaml file to view it in visual studio. To make modifications to that control you would have to do like the samples you have seen and edit the control using C# code in your script.
-
Jesse thanks for the info, So I am thinking that if I convert one of the current button scripts to xaml just to have an idea of where they locate on the ChartTrader form. I can then display it in VS and add all the other controls I want in VS with zaml coming in more or less automatically as I add the controls. Is there anything wrong with my assumptions or logic here or am I asking for a big headache.
Thanks
Jerry
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
51 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
127 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
69 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment