>>>I have a form (timesheet.scx) that I want to have run from my main system as well as a top-level form. Can't change the showwindow property as it is read-only. My goal is to have two EXEs. One is MAIN.EXE and one is TIMESHEET.EXE.
>>>I don't want to have two separate TIMESHEET.SCX files.
>>>
>>>Is there anyway to change the timesheet form's ShowWindow on the fly?
>>>
>>>thanks...
>>
>>You can add a ProjectHook Object to each project and use it's BeforeBuild Event to change ShowWIndow property in TIMESHEET.SCX.
>
>Thanks Sergey... Can that be done in VFP 6?
Sure. Check ProjectHook Object in VFP help. See also mskb #
Q192330, mskb #
Q192343, mskb #
Q192578.
--sb--