cancel
Showing results for 
Search instead for 
Did you mean: 

Form Mode Problem

former_member184566
Active Contributor
0 Kudos

I've made a form in XML and then joined it to a User Defined Obeject. On my form i've added a button with the unique id "1". But when i browse through data that is already entered by using the data browser it doesn't change the button to "Ok" and "Find" when going to the different modes. Any ideas why???

If i don't use an XML form and do everything through code it works perfectly.

Any ideas, please.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I find that with 2004, we have to set SupportedModes="5" in the form node in the XML. I don't know what the number represents, so you may want to try 15 (which has more bits set).

Answers (3)

Answers (3)

former_member184566
Active Contributor
0 Kudos

Yes, the screen painter does do unusual things. I've done the above. the only thing i didn't do was the val-on.....in my screen painter there is no access to this, So i just did it in the XML code, works great now. Thanks.

I've rewarded you accordingly again.

Thanks

former_member184566
Active Contributor
0 Kudos

Thanks, that solved my problem and ive rewarded max points.

But now if i have check boxes on the XML form and i click on them they get ticked, but they don't untick when clicked on. Why? Do you have any ideas??

If i did this through code it works fine.

Former Member
0 Kudos

Louis,

I am glad we covered your first problem.

For check boxes: 1) Be sure that you have a datasource bound to them 2) Be sure that the val_on and val_off for the item/specific or column are reasonable. The screen painter can do funny things with these settings.

Bruce

P.S. If you ever use Screen Painter to modify the form again, save a version first and then compare them to see what changes you want to keep. It often makes changes that are not acceptable such as dropping or changing user data sources.

FOA
Advisor
Advisor
0 Kudos

Hi Louis,

Check this thread to see if this will fix your problem.

Best regards,

Felipe

former_member184566
Active Contributor
0 Kudos

What thread???

AlexGrebennikov
Active Contributor