Current Items

Current Items

Post by Sue Mosher » Fri, 04 Jun 2004 10:27:43

The currently open item is Application.ActiveInspector.CurrentItem. For
Outlook property syntax, see

Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers

want it to grab some information and use that todo 2 things:
contact in them, and also link the task to the contact, and I do not know
how to access the current Item and it's properties. Any help appreciated.

1. Change Past System Tray Past Item to Current Item

2. "copy" and drag a canvas item: strange "current" item

I'm a little bit confused about the behavior of the following
wish script (tested under wish version 8.3 and 8.4):

canvas .ca
pack .ca

.ca create rect {10 10 20 20} -tags Original -fill yellow

.ca bind Original <ButtonPress-1> {
.ca create rect {10 10 20 20} -tags Copy -fill red

.ca bind Original <Button1-Motion> {
puts [%W gettags current]
if {![info exists x_old]} {
set x_old %x
set y_old %y
set dx [expr {%x-$x_old}]
set dy [expr {%y-$y_old}]
%W move Copy $dx $dy
set x_old %x
set y_old %y

I'm trying to "copy" and drag the original rect item using the
mouse pointer. Surprisingly (for me) it works; however, I
don't understand why the original item remains the "current"
one (see "puts" output) and not the copied one which is actually
at the mouse pointer.

I would have expected that

.ca bind Copy <Button1-Motion> { (same as above) }

should work but it doesn't. So, is there a simple reason why
the canvas behaves as described above (probably there is ...)?
And is there another (better, cleaner) way to implement this
simple "copy&drag" functionality?

Thanks in advance

3. remove item from current item in list box

4. How can I set current item in ComboBox at designer

5. WMP11: Add current item to playlist

6. >> Current Items only

7. Where to define HttpContext.Current.Items["xxxx"];

8. [FXRuby] - Combobox reading out current item

9. Newbie: Positions for BindingManager and its bound data-source: changing current item.

10. Determining whether the current item is the last one from inside ItemDataBound

11. "Current" item in Array?

12. Selecting current Item in C#

13. 2008: How search for word in "current item"?

14. newbie, how to compare if current item is expanded

15. [Zope] how do I test for the current item in an iteration