Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ReportListener Run-Time field alignment
Message
From
08/10/2004 02:25:02
Walter Nicholls
Cornerstone Software Ltd
Auckland, New Zealand
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00949327
Message ID:
00949800
Views:
19
Hi Paul

I'm glad this works for you.

FWIW, if you want to optimize the code (reduce in size, increase in speed), you can avoid creating quite so many objects (GpColor, GpRectangle) - for colours just use the ARGB numeric value directly (eg black is 0xFF000000) and for the rectangle look at GpGraphics::MakeGdipRectF(). I can't remember offhand if you'd need a Rect or a RectF - check the source. Also, you don't need to convert out of Unicode - stay in Unicode and use DrawStringW() instead.

Both things I only briefly mentioned in FoxTalk .. only so much room in one magazine.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform