Skip to Content
author's profile photo Former Member
Former Member

Problem trying to put Checked Property to true on TabControl

Hi All,

I am trying to put Checked Value programmatically on Pane #2 but It does not work, But When I put the CheckBox on Pane #1, It is works.

I'm using SAP B1 Studio for Visual Studio.

My Steps are:

1. Add a UserDataSource,

I related the CheckBox to this UserDataSource and I put it on Pane #1

I put the Checked Property to true on Constructor Form

I run the Add-on, It works:

Now, I tried to put the CheckBox on Pane #2 by changing FromPane and ToPane 2

I Run the Add-on but It does not work now.

Any Idea?.

Thanks in advance,

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on May 14, 2014 at 05:29 PM

    Hi Luiz,

    the pane has to be active to do UI interactions. Means : Before checking click on "Folder 2" or set the pane of the Form to 2.

    regards,

    Maik

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 15, 2014 at 06:44 AM

    Hi Luis,

    Alternatively you can try to set the datasource bound to the checkbox. That should force the checkbox into checked state regardless of the pane level.


    Best regards,

    Pedro Magueija


    View Pedro Magueija's profile on LinkedIn

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.