VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4]5678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 10:32:49 11/04/02 Mon
Author: Ed Fessler
Subject: Re: Clearing all data from an ImageScrollBox
In reply to: Ed Fessler 's message, "Clearing all data from an ImageScrollBox" on 10:20:13 11/04/02 Mon

Oops, LoadFromFile with a null file name does not clear the FrameCount.

>I have an ImageScrollBox that I use to store a
>multipage tiff image. When I close my file in my app,
>I want to clear all images from the ImageScrollBox. I
>later use the FrameCount property to determine if I
>have a file open or not. I have been using the Clear
>method to clear the images, but it does not clear the
>FrameCount. I tried using LoadFromFile with a null
>file name which does clear all the data but generates
>an exception. I put an exception block around to make
>it work. Is there a better way for me to do this?
>
>Ed

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.