how can I use FormWindowState.Maximized

Posted by: sanjuspread on 8 September 2017, 3:22 pm EST

  • Posted 8 September 2017, 3:22 pm EST

    how can I use FormWindowState.Maximized of Main Window Form on childviewcreated event of spread which is on the main Window Form.
  • Replied 8 September 2017, 3:22 pm EST

    Hi Sanju,

    Could you please confirm exact scenario here.
    'WindowState' property of the Form works well in 'ChildViewCreated' event of FpSpread and maximizes the form properly(see attached sample project).

    Do you face any problem while implementing the same. Please explain the issue in more detail.

    Thanks,
    Shubham
    2016/02/MaximizeSpreadForm.zip
  • Replied 8 September 2017, 3:22 pm EST

    my scenario is little different , in my project I have two different class one is for the window FORM and other is for the spread say by name "abc".
    In the window FORM class I created an object of the class "abc".

    As child view created event is written in the "abc' class, hence I am not able to use below line of code in child view created event. "this.WindowState = FormWindowState.Maximized;".

    pls hep how to slove this problem.
    regards,


  • Replied 8 September 2017, 3:22 pm EST

    Hi Sanju,

    Just to confirm, is this issue related/same as the issue discussed at following forum thread:
    http://sphelp.grapecity.com/forums/topic/scroll-bar-created-event/

    i.e are the requirements same in both the cases?

    Actually, we might escalate that issue to the development team. That's why we would like to confirm the exact scenario.

    Thanks,
    Shubham
  • Replied 8 September 2017, 3:22 pm EST

    Yes.
  • Marked as Answer

    Replied 8 September 2017, 3:22 pm EST

    Hello,

    Further follow will be done on the original issue now at below mentioned link to avoid the confusion and to maintain the thread:-

    http://sphelp.grapecity.com/forums/topic/scroll-bar-created-event/

    and we again request you not to create duplicate cases for same issue. This creates confusion between cases and then its difficult to track the case as well.

    Thanks,
    Reeva
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels