next item and previous item? 
Author Message
 next item and previous item?

Anyone know how to detect that the "CurrentItem" of the ActiveInspector is
changing?  For example, if the user clicks on the NextItem or PreviousItem
button, I don't really know where to find out that the Inspector's
CurrentItem is changing.

Ideas?

--AJ



Tue, 13 Jul 2004 22:48:22 GMT  
 next item and previous item?
Forget it.  I did it in the best way I could think of, but it seems
convoluted:

1) On mailitem.Close event, fire an event of my email-wrapper class back to
my inspector-wrapper-class.
2) Check the inspector.CurrentItem to see if it's the same as the one I
already have dim'ed.
  2a) If same, then the inspector is closing...basically do nothing, because
I'll un-set the object in the terminate.
  2b) If different, free the object-var of my email-wrapper-class and
re-allocate it to the new CurrentItem.
    2b.1) Fire a "friend sub" on the email-wrapper-class to explicitly
trigger the "Open" event -- this doesn't occur auto.

Weird, huh?  But it works!

--AJ



Quote:
> Anyone know how to detect that the "CurrentItem" of the ActiveInspector is
> changing?  For example, if the user clicks on the NextItem or PreviousItem
> button, I don't really know where to find out that the Inspector's
> CurrentItem is changing.

> Ideas?

> --AJ



Wed, 14 Jul 2004 00:27:16 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to do Next item and Previous item programatically

2. How .Items(5) + .Items.Item(5) ?

3. How to prevent flickering of the previous selected item in a ListView

4. Why does the previous selected item in a ListView get selected for a short moment

5. Inspector Next Item

6. Next/Previus Item buttons

7. Next item in For loop

8. Show data when next item is selected in listview object

9. Show data when next item is selected in listview object

10. Large bitmap next to menu items like in Windows Start menu

11. Bitmap next to menu items

12. VB5 icons next to menu items

 

 
Powered by phpBB® Forum Software