We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Show Backstage at Form Load

Thread ID:

Created:

Updated:

Platform:

Replies:

130148 Apr 25,2017 06:25 AM Apr 27,2017 12:05 AM Windows Forms 3
loading
Tags: RibbonControlAdv
Matthijs Huisman
Asked On April 25, 2017 06:25 AM

Hi,

I am trying to show the BackStageView direct when the application (Ribbonform) loads. I used to code from the knowledge base, but it does not work and the BackStage menubutton disappears... But maybe I do something wrong?

I have attached a sample to reproduce what happens...

Thanks a lot!

Regards,

Matthijs

Attachment: Ribbon_ShowBackstage_cf446675.zip

Priyanga Balasubramaniam [Syncfusion]
Replied On April 26, 2017 05:15 AM

Hi Matthijs,

Thank you for using Syncfusion products.

We have prepared the simple sample in VB to meet your requirement. In this sample, we have hooked the Form Load event in code behind and called "ShowBackStage" method in this event.

Please download the sample from the below location.

Sample: BackStageSample

Regards,
Priyanga B


Matthijs Huisman
Replied On April 26, 2017 06:03 AM

Thanks again! It works now!

Also for others: I had the handler of the Load event hard coded (design time):

 Private Sub Main_Load(sender As Object, e As EventArgs) Handles MyBase.Load

Adding the handler in runtime solved the problem:

Public Sub New()
        InitializeComponent()
        AddHandler Me.Load, AddressOf Main_Load
    End Sub

Private Sub Main_Load(sender As Object, e As EventArgs)
.....

Regards,

Matthijs

Priyanga Balasubramaniam [Syncfusion]
Replied On April 27, 2017 12:05 AM

Hi Matthijs,

Thanks for your update.

Let us know if you need any other assistance.

Regards,
Priyanga B

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;