cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Header Fields programmatically

Former Member
0 Kudos

Hello Gurus,

Is it possible to hide header fields using DI API? Our customer likes to hide the Total Before Discount field. Please help...

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gilbert,

Just a trick. In the load event of the form, set the left property of the field to a high value. This way, the control will not be visible for the user, which is what you need.

Regards,

Ibai Peñ

Former Member
0 Kudos

Hi Gilbert/Ibai,

In 2005A SP01 I tried to set the visible property of various items to false, and it worked as well. Never tried on previous versions.

Regards

on deliveries form this statement hides the Total Before Discount as Gilbert wanted to do...

f.Items.Item("22").Visible = false;

Bye

Message was edited by: Enrico Rizzo

Former Member
0 Kudos

Hi,

Good to know. In previous versions this wasn´t possible.

Regards,

Ibai Peñ