Print Page | Close Window

Change "subclass module"and"object name"by script

Printed From: ORCL Toolbox
Category: ORCL Toolbox
Forum Name: FormsAPI Master
Forum Description: FormsAPI Master related questions and answers
Printed Date: 02-July-2022 at 5:32am
Software Version: Web Wiz Forums 11.01 -

Topic: Change "subclass module"and"object name"by script
Posted By: ysaloom
Subject: Change "subclass module"and"object name"by script
Date Posted: 09-December-2020 at 1:14am

I have more than 100 forms -FMB files- that I want to change the "subclass module" and "object name" for the object groups...
So I was wondering if there is a way to do this by script.

Kindly see the attached image.

Thanks a lot...

Posted By: administrator
Date Posted: 11-December-2020 at 5:57am
Yes, that can be easily modified by script. I suggest you open the module inside the "Explore" tool and then switch on the "Show Forms API Info" option (under the display option menu). When you then go to your Object Groups it will show you the necessary script to read/write those properties that point to the referenced Forms module. 

p.s.: Once you change those D2FP_PAR_??? properties you might need to call the "Generic_Reattach()" function, check the help file for more info.

Posted By: ysaloom
Date Posted: 13-December-2020 at 2:21am
Thanks a lot that was very helpful

Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 -
Copyright ©2001-2014 Web Wiz Ltd. -