[ExtensionOf(formStr(Formxx))]
final class Formxx_Extension
{
public void init()
{
next init();
partList = new PartList(this);
for (int i = 1; i <= partList.partCount(); i++)
{
FormPartReferenceControl part = partList.getPartControlById(i);
if (part.formName() == formStr(Formyy))// this is the name of the form that is linked to displayMenuItem and not the formPart name
{
part.visible(false);
}
}
}
}
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156