Divelements Community
Customer discussion of all Divelements products

Navisight Bar in Web Applications

Latest post 08-24-2005 9:31 by Tim Dawson. 1 replies.
  • 08-18-2005 17:12

    Navisight Bar in Web Applications

    I've this code but I've 2 problem:

       // navigationBar2
       //
       this.navigationBar2.Controls.Add(this.CatAnagrafica);
       this.navigationBar2.Controls.Add(this.CatCalendario);
       this.navigationBar2.Controls.Add(this.CatUtility);
       this.navigationBar2.Dock = System.Windows.Forms.DockStyle.Left;
       this.navigationBar2.Location = new System.Drawing.Point(8, 8);
       this.navigationBar2.Name = "navigationBar2";
       this.navigationBar2.SelectedCategory = this.CatAnagrafica;
       this.navigationBar2.Size = new System.Drawing.Size(152, 322);
       this.navigationBar2.TabIndex = 3;
       this.navigationBar2.Text = "navigationBar2";
       //
       // CatAnagrafica
       //
       this.CatAnagrafica.Controls.Add(this.buttonBar1);
       this.CatAnagrafica.Location = new System.Drawing.Point(0, 25);
       this.CatAnagrafica.MinimumHeaderSize = 25;
       this.CatAnagrafica.Name = "CatAnagrafica";
       this.CatAnagrafica.Size = new System.Drawing.Size(152, 247);
       this.CatAnagrafica.TabIndex = 0;
       this.CatAnagrafica.Text = "Anagrafica";
       //
       // buttonBar1
       //
       this.buttonBar1.AutoScrollMinSize = new System.Drawing.Size(0, 414);
       this.buttonBar1.Buttons.AddRange(new Divelements.Navisight.NavigationButton[] {
                             this.navigationButton1,
                             this.navigationButton2,
                             this.navigationButton3,
                             this.navigationButton4,
                             this.navigationButton5,
                             this.navigationButton6});
       this.buttonBar1.ButtonSpacing = 20;
       this.buttonBar1.Dock = System.Windows.Forms.DockStyle.Fill;
       this.buttonBar1.HighlightMode = Divelements.Navisight.ButtonHighlightMode.ImageOnly;
       this.buttonBar1.Location = new System.Drawing.Point(0, 0);
       this.buttonBar1.Name = "buttonBar1";
       this.buttonBar1.Size = new System.Drawing.Size(152, 247);
       this.buttonBar1.TabIndex = 0;
       //
       // navigationButton1
       //
       this.navigationButton1.Image = ((System.Drawing.Image)(resources.GetObject("navigationButton1.Image")));
       this.navigationButton1.Text = "Outlook Today";
       //
       // navigationButton2
       //
       this.navigationButton2.Image = ((System.Drawing.Image)(resources.GetObject("navigationButton2.Image")));
       this.navigationButton2.Text = "Inbox";
       //
       // navigationButton3
       //
       this.navigationButton3.Enabled = false;
       this.navigationButton3.Image = ((System.Drawing.Image)(resources.GetObject("navigationButton3.Image")));
       this.navigationButton3.Text = "Calendar";
       //
       // navigationButton4
       //
       this.navigationButton4.Image = ((System.Drawing.Image)(resources.GetObject("navigationButton4.Image")));
       this.navigationButton4.Text = "Contacts";
       //
       // navigationButton5
       //
       this.navigationButton5.Image = ((System.Drawing.Image)(resources.GetObject("navigationButton5.Image")));
       this.navigationButton5.Text = "Tasks";
       //
       // navigationButton6
       //
       this.navigationButton6.Image = ((System.Drawing.Image)(resources.GetObject("navigationButton6.Image")));
       this.navigationButton6.Text = "Notes";
       //
       // CatCalendario
       //
       this.CatCalendario.Location = new System.Drawing.Point(0, 50);
       this.CatCalendario.MinimumHeaderSize = 25;
       this.CatCalendario.Name = "CatCalendario";
       this.CatCalendario.Size = new System.Drawing.Size(152, 199);
       this.CatCalendario.TabIndex = 1;
       this.CatCalendario.Text = "Calendario";
       //
       // CatUtility
       //
       this.CatUtility.Location = new System.Drawing.Point(0, 122);
       this.CatUtility.MinimumHeaderSize = 25;
       this.CatUtility.Name = "CatUtility";
       this.CatUtility.Size = new System.Drawing.Size(152, 200);
       this.CatUtility.TabIndex = 2;
       this.CatUtility.Text = "Utility";

     

     

    How Can I add differt button in the second and third category?? Now I see an empty area.


    How Can I use this code for a Web Applications?? Which modify I must to do???


    Thanks

     

  • 08-24-2005 9:31 In reply to

    Re: Navisight Bar in Web Applications

    You can add new buttons by using the verb in the propertygrid when you have a button bar selected.

    You cannot use Navisight in a web application, it is a windows control.
Page 1 of 1 (2 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems