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

Cannot unlock the locked fields

Hi gurus,

I am changing the screen-input of the table control dynamically.

I can lock the columns.

The problem is, I cannot unlock them after I have locked them.

Is it possible to use only 1 button to do both the lock and the unlock functionalities?

During debugging, I found out that the screen-input always have the same values. In my first click to lock the button, screen-input has value of 1. So I changed it to 0 so that it will be locked. But when I click the button again, still, the screen-input has the value of 1. Thus, I can't unlock the locked button.

In the layout form, in the attributes - program tab, I have set the field to be input and output. Is this the cause why the screen-input always have the same value?

I've tried ticking the Without reset checkbox but still the same.

Thank you.

Benedict

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 03:22 PM

    You have to keep track of whether or not the field is "locked". If it is, unlock it; otherwise, lock it.

    Rob

    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.