New Posts New Posts RSS Feed - Change "subclass module"and"object name"by script
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

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

 Post Reply Post Reply
Author
ysaloom View Drop Down
Groupie
Groupie


Joined: 09-December-2020
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ysaloom Quote  Post ReplyReply Direct Link To This Post Topic: Change "subclass module"and"object name"by script
    Posted: 09-December-2020 at 1:14am
Hello,

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...
Back to Top
administrator View Drop Down
Admin Group
Admin Group

Stefan Mueller

Joined: 25-January-2003
Location: New Zealand
Points: 1059
Post Options Post Options   Thanks (0) Thanks(0)   Quote administrator Quote  Post ReplyReply Direct Link To This Post 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.



Back to Top
ysaloom View Drop Down
Groupie
Groupie


Joined: 09-December-2020
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ysaloom Quote  Post ReplyReply Direct Link To This Post Posted: 13-December-2020 at 2:21am
Thanks a lot that was very helpful
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

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