Jump to content
Software FX Community

Financial Extensions .NET - Customizong the Tool Bar


User (Legacy)

Recommended Posts

I am evaluating the .NET financial extensions, and wish to dramatically 

customize the tool bar.

I have cleared the xisting tool bar with:

Me.Financial1.ToolBarObj.Clear()

The I want to add options to it so I use the following code:

Me.Financial1.ToolBarObj.InsertAt(0,1)

The to add the item i tried:

Me.Financial1.ToolBarObj.Item(0) = SoftwareFX.ChartFX.CommandID.Zoom

This actually added a button, BUT it didn't function so i looked around and

changed it to:

Me.Financial1.ToolBarObj.Item(0) =

SoftwareFX.ChartFX.Financial.WinForms.FinCommandID.ZoomIn

This now gives and index out of bounds error.

How can I add new buttons to the ToolBarObj on a financial form.

Also I would like to cusomize the ContextMenus but can't find anything to do

that either.

Any help much appreciated.

Martin

Link to comment
Share on other sites

OK! Great question.

Sorry haven't got back to you earlier been too busy.

This will be working fine in the Release.

I will respond to privately with a workaround.

-CJS

"Martin Smith" <martin.smifff@blueyonder.co.uk> wrote in message

news:wVhQ2$i$EHA.1144@webserver3.softwarefx.com...

>I am evaluating the .NET financial extensions, and wish to dramatically

>customize the tool bar.

>

> I have cleared the xisting tool bar with:

>

> Me.Financial1.ToolBarObj.Clear()

>

> The I want to add options to it so I use the following code:

>

> Me.Financial1.ToolBarObj.InsertAt(0,1)

>

> The to add the item i tried:

>

> Me.Financial1.ToolBarObj.Item(0) = SoftwareFX.ChartFX.CommandID.Zoom

>

> This actually added a button, BUT it didn't function so i looked around

> and changed it to:

>

> Me.Financial1.ToolBarObj.Item(0) =

> SoftwareFX.ChartFX.Financial.WinForms.FinCommandID.ZoomIn

>

> This now gives and index out of bounds error.

>

> How can I add new buttons to the ToolBarObj on a financial form.

>

> Also I would like to cusomize the ContextMenus but can't find anything to

> do that either.

>

> Any help much appreciated.

>

> Martin

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...