>Hello everyone:
>
> Could you give me some advice on how to set a property of all forms in a project? thank you!
Use the form's class. Convert all your forms to use this class.
If you already have a property and just want to set it, then one of the ways would be to navigate through _screen forms collection. e.g.
for each loForm in _screen.Forms
if pemstatus(loForm,'myProperty',5)
loForm.MyProperty = MyValue
endif
next
This is in run-time.
In design time you need to use _VFP.ActiveProject for this. I can dig some code, if needed.
If it's not broken, fix it until it is.
My Blog