User (Legacy) Posted October 1, 2004 Report Share Posted October 1, 2004 In the help it talks about removing sub commands. The example given is: Chart1.Commands(CType(CommandID.PersonalizedOptions, Integer)).RemoveSubCommand(3) This Works fine, but I need to be able to remove some of the Palettes from the Palette list. Changing the CommandID to the PaletteSelector always results in an index out of bounds exception, e.g. Chart1.Commands(CType(CommandID.PaletteSelector, Integer)).RemoveSubCommand(8) Any idea what I'm doing wrong? Chris Attachments.zip Link to comment Share on other sites More sharing options...
Software FX Posted October 1, 2004 Report Share Posted October 1, 2004 The problem is that individual palettes are NOT commands. There is no API to remove a specific palette from the palette list. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted October 1, 2004 Author Report Share Posted October 1, 2004 Okay, well the reason I was trying to remove individual palettes, is because some of the palettes available to .Net are not available in the Java version of ChartFX. If I cant prevent the user from selecting palettes such as Vivid which dont exist on the Java Server, can I add these palettes to the Java Server?? "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:d63Lhe8pEHA.3120@webserver3.softwarefx.com... > The problem is that individual palettes are NOT commands. > > There is no API to remove a specific palette from the palette list. > > -- > FP > Software FX > Link to comment Share on other sites More sharing options...
Software FX Posted October 1, 2004 Report Share Posted October 1, 2004 Chart FX fro Java is based in Chart FX 6.0, are you using 6.2 in .NET ? That would explain the difference. Besides the palettes there is many other differences between 6.0 and 6.2. A new version of Chart FX for Java compatible with Chart FX 6.2 is in the works, you can contact our Chart FX for Java team for more information. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted October 4, 2004 Author Report Share Posted October 4, 2004 Hi, yes we have 6.2 for .Net and 6.0 for Java. I didnt realise! I can live without the new palettes until 6.2 for Java is released. Thanks for explaining, Chris "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:zownKs$pEHA.1736@webserver3.softwarefx.com... > Chart FX fro Java is based in Chart FX 6.0, are you using 6.2 in .NET ? > That would explain the difference. > > Besides the palettes there is many other differences between 6.0 and 6.2. > A new version of Chart FX for Java compatible with Chart FX 6.2 is in the > works, you can contact our Chart FX for Java team for more information. > > -- > FP > Software FX > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.