T
Thomas C
For some reason, the CurrencyManager will not let me remove the last item in
the collection. For example, if I have a CurrencyManager bound to a
collection with a Form and Control bound to the CurrencyManager. I can
remove any item from the CurrencyManager just fine with RemoveAt. However,
if it is the last item (so Position = 0), it simply ignores the call. It
doesn't throw and error, it simply doesn't do anything. Count remains 1,
Position remains 0. Even if I try calling currencyManagerVar.List.Clear(),
it ignores the call. Again, no error, just doesn't do anything.
Any ideas what could cause this?
Thomas
the collection. For example, if I have a CurrencyManager bound to a
collection with a Form and Control bound to the CurrencyManager. I can
remove any item from the CurrencyManager just fine with RemoveAt. However,
if it is the last item (so Position = 0), it simply ignores the call. It
doesn't throw and error, it simply doesn't do anything. Count remains 1,
Position remains 0. Even if I try calling currencyManagerVar.List.Clear(),
it ignores the call. Again, no error, just doesn't do anything.
Any ideas what could cause this?
Thomas