7

The LA Fox Developer Newsletter
June 1997
Screen Resolution (Con't from page 1)
local lnScaleFactor && a relative scale factor local InBaseScaleFactor && an absolute scale factor local IcError
IcError = on(’error’)

InScaleFactor = this.width I this.prevWidth this.prevWidth = this.width
this.height = thls.prevHelght * InScaleFactor && the height of the form is a
&& fixed function of the width
this.prevHeight = this.height
lnBaseScaleFactor = this.width I thls.BaseWidth

on error *
&& some objects don’t have
&& FontSize or AutoSize Property
=amembers(laMembers,this,2) && get a list of object names

&& (ignore nested objects)
this.Iockscreen = .t. && this will make form updates && wait until we are done
for Inl = I to aien(iaMembers)
icName = iaMembers[lni]
with this.&lcName .AutoSize = .t. .width = .width * InScaleFactor .height = .height * lnScaleFactor .top = .top * inScaleFactor
.ieft .Ieft * InScaleFactor .FofltSize = int(this.BaseFontSlze * lnBaseScaieFactor)
endwith
next
this.lockscreen = .f. && allow form to udpate

on error &lcError


Stopping Cookies - How to do It
If you don’t want Web Sites to dump a cookie in your computer, you can change your Internet browser to warn you before accepting cookies.

Microsoft Internet Explorer. Under the Options menu, choose View Options, and click on the Advanced tab. Click the box that says “warn before accepting cookies”.

Netscape Navigator. Under the Options menu, choose Network Preferences, and then choose Protocol. Click on the box that says “show alert" before accepting cookies.

The anti-cookie sentiment has spawned a modest cottage industry in preventing them from getting on computer hard drives. Check out these Web sites:
www.pgp.com
www.wizvax.net/kevinmca/
www.junkbusters.com

But make sure you “set” your browsers first. <g>
VISUAL FOXPRO DEVCON 97
14-17
September 1997
San Diego, California
Sheraton San Diego Hotel & Marina
Get It Done with Visual FoxPro when DevCon returns to San Diego!

The largest gathering of FoxPro developers in the world, this year’s Visual FoxPro DevCon is happening in San Diego. 1,800 people participated in Visual FoxPro DevCon 96. Don’t miss DevCon 97, co-sponsored by Microsoft and Advisor.

Add yourself to the Visual FoxPro DevCon 97 mailing list by sending your name, company, mailing address, telephone, fax, and e-mail info to FoxProDevCon@advisor.com. Be sure to describe the topics you’d like to see covered at Visual FoxPro DevCon 97.

DevCon 97 is being planned right now. Watch FOXPRO ADVISOR magazine for Visual FoxPro DevCon 97 information, and monitor this newsletter for details on sessions, speakers, and activities as soon as they are finalized.

While you’re waiting for details, take a look at the DevCon site
on San Diego Bay, the Sheraton San Diego Hotel & Marina:
1,045 Rooms; 46 Suites; 630 Non-Smoking Rooms; Disabled
Facilities Available; Club Level; 3 Restaurants; Deli and Bakery;
3 Lounges; Entertainment; Pool Bar;24-Hour Room Service; 3
Outdoor Heated Pools; Whirlpool & Jacuzzis;Health Club and
Spa; 5-Mile Jogging; Par Course; 4 Lighted Tennis Courts;
Game Room; Sail and Motor Rentals; Gift & Pro Shops;
Concierge. The hotel is located at 1380 Harbor Island Drive,
San Diego, California 92101, Tel: (619)291-2900, Fax: (619)
692-2337.

Unsupported Trick (Con't fmm page 6)
RETURN result
ENDIF

The information provided in the Microsoft Knowledge Base is provided “as is” without warranty of any kind. Microsoft disclaims all warranites, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no even shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if microsoft corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.

Copyright Microsoft Corporation.
Page 7

7