But my ned is different...first i will insert all the shapes and then i will
click any one of the shape...
so can u tell me is there any interfaces for getting clicked shapes in
impress....i.e) to get which shape is clicked

On 1/8/07, Stephan Wunderlich <[EMAIL PROTECTED]> wrote:


in presentation view nothing is selected and so the selection changed
event will most likely not be fired.
I suppose the easiest way to handle this would be to create one
method for each shape where the shape's name is handed over to a
method that does what has to be done with all shapes.

Somethings like

sub shape1_click
        doShapeStuff("Shape1")
end sub

sub doShapeStuff(ShapeName as String)
        xShape=ThisComponent.DrawPages(0).getByName(ShapeName)
        '...
        ' do something brilliant :-)
        '...
end sub

Hope that helps

Regards

Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to