Subject Re: PDF file display
From Akshat Kapoor <akshat.kapoor@kapoorsons.in>
Date Tue, 13 Jul 2021 11:08:29 +0530
Newsgroups dbase.getting-started

Good Morning Mustansir,

>
> I am coming back to Active X object again. Below command works perfect. When we open the form, the Active X object display a blank white box. But then when we go to another record where the fields is blank meaning  there is no pdf file for it, in such cases Navigate2(" ") does not blank the box. I wonder what we need to put in navigate2( )
>
>    form.microsoftwebbrowser1.nativeobject.navigate2("C:\Program Files (x86)\dBASE\dBASE2019\Licenses\dBASE_2019_License.pdf")

Have you tried turning the visible property of the box to false.

You will have to set visible to true again

Regards
Akshat