cancel
Showing results for 
Search instead for 
Did you mean: 

User Defined Fields Form

Former Member
0 Kudos

Hi Philipp,

This is in reference to ur post Dated Jan13,2005. "Opening User Defined Fields Form via API".

Is it possible for u to give a code snippet. what i'm unable to get is

- Check if i can get a handle of the UDF-Form in the Mainform Activate-Event

and

-disable the close button

Thanx in anticipation.

Manu.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Manu,

Here is a code snipet where looks for the related UDF form. The FormTypeNum´s value is the same as pVal.FormType property.


Dim oUDFForm As SAPbouiCOM.Form
Try
oUDFForm = con.Forms.GetForm("-" + FormTypeNum.ToString.Trim, con.Forms.Item(FormUID).TypeCount)
Catch ex As Exception
   con.ActivateMenuItem("6913")
   oUDFForm = con.Forms.GetForm("-" + FormTypeNum.ToString.Trim, con.Forms.Item(FormUID).TypeCount)
End Try

The other issue is solved in your other post.

Regards,

Ibai Peñ

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanx a ton Ibai,

both my issues are solved now.

Manu