Search found 8 matches

by jpbro
Thu Mar 18, 2010 6:16 am
Forum: Document Viewing
Topic: GDViewer As Container Control
Replies: 3
Views: 2652

Re: GDViewer As Container Control

Actually, it looks like I spoke too soon. Even though the GdViewerCnt control does act as a container, the controls that I place inside it still overlap the built-in scrollbars, so my original problem remains. I have implemented my own scrollbars, and it seems to overcome the problem, but it would b...
by jpbro
Thu Mar 18, 2010 5:23 am
Forum: Document Viewing
Topic: GDViewer As Container Control
Replies: 3
Views: 2652

Re: GDViewer As Container Control

Hi Tom,

Ah, I can't believe I missed that :oops: !

Thanks a lot for the reply.

Jason
by jpbro
Wed Mar 17, 2010 10:47 pm
Forum: Document Viewing
Topic: GDViewer As Container Control
Replies: 3
Views: 2652

GDViewer As Container Control

Is there any chance that the GDViewer control be compiled as a Container for other ActiveX controls? The reason is I want to put controls over the image held in the GDViewer, but if there are scrollbars on the GDViewer, then my ActiveX controls overlap them. Thanks for any replies.
by jpbro
Wed Mar 17, 2010 5:55 pm
Forum: Document Viewing
Topic: [SOLVED] Proportional ScrollBars
Replies: 2
Views: 2363

Re: Proportional ScrollBars

My mistake - the GDPicture scrollbars are proportional (that is the size of the thumb is relative to the size of the visible area of the content, and the size of the scrollable space on the scrollbar is relative to the size of the non-visible area of the content), the default ScrollLargeChange and S...
by jpbro
Tue Mar 16, 2010 8:49 pm
Forum: Document Viewing
Topic: [SOLVED] Proportional ScrollBars
Replies: 2
Views: 2363

[SOLVED] Proportional ScrollBars

Is there a way to get proportional scrollbars on the GDViewer control?
by jpbro
Tue Mar 16, 2010 8:46 pm
Forum: Document Viewing
Topic: GDViewer DisplayFromString
Replies: 13
Views: 9286

Re: GDViewer DisplayFromString

StrConv(BYTEARRAY, vbUnicode), converts the byte array to a Unicode (2 bytes per character) string. I don't think that this is the best approach if you already have your data in a byte array - maybe you should try using DisplayFromByteArray instead? Unfortunately, I don't use RealBasic, so I can't h...
by jpbro
Mon Jul 27, 2009 5:35 am
Forum: Document Viewing
Topic: Printer Page Size & Orientation Problems
Replies: 1
Views: 1718

Re: Printer Page Size & Orientation Problems

Sorry, it was my fault! I was calling PrintSetActivePrinter after I set the printer size and orientation. :oops:
by jpbro
Mon Jul 27, 2009 5:23 am
Forum: Document Viewing
Topic: Printer Page Size & Orientation Problems
Replies: 1
Views: 1718

Printer Page Size & Orientation Problems

Hi, I'm having trouble getting the page orientation & size to work with the Imaging object in VB6. I use: .PrintSetStdPaperSize = vbPRPSLegal ' 5 .PrintSetOrientation = vbPRORLandscape ' 2 Before I print my image. Subsequent calls to .PrintGetPaperWidth returns 355.6 (14 inches) and .PrintGetPap...