Unofficial Content
  • This documentation is valid for:

You need to add a new reference in your .package file under the ToolWindows section; you can use the intellisense to complete parameter needed, a sample could be the following:

<ToolWindows>
    <ToolWindow id='3C3DEAE0-66DD-48bd-866D-463C4075385A' title='toolWindowTitle' location='right'/>
</ToolWindows>

Then you need to create a class inherit from AbstractToolWindow with a GUID matching your previous definition, for example:

    [Guid("3C3DEAE0-66DD-48bd-866D-463C4075385A")]
    public partial class ToolWindow : AbstractToolWindow
    {
        public ToolWindow()
        {
            InitializeComponent();
            // TODO
        }
        public static Guid guid = typeof(ToolWindow).GUID;
        // TODO

Check the GXextensions ToolWindow and Daily Dilbert samples.

 

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant