Article ID: 155747
Article Last Modified on 7/13/2004
WAIT WINDOW This.Application.DefaultFilePathIn a Visual FoxPro 5.0 executable, the application property is also useful. The following code in the Click of a command button can change the title of the executable:
_VFP.Caption="This is a Different Title"The Application property and _VFP are used interchangeably. Therefore, all of the following return the same value--"Microsoft Visual FoxPro":
?_VFP.NAME ?_VFP.APPLICATION.NAME ?APPLICATION.NAME ?_VFP.PARENT.NAME ?_VFP.APPLICATION.PARENT.NAME ?APPLICATION.PARENT.NAME
Keywords: kbhowto kboop KB155747