Am Mittwoch, den 01.11.2006, 19:48 +0500 schrieb Tabish F. Mufti:
> Can anyone mention to me the Object/Class name which I should look into for
> placing a button on ooimpress slide ?
> 
> On 10/29/06, Tabish F. Mufti <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I've a code which create my own customized slide in ooimpress. What I want
> > is that a button be placed on every slide and I need to handle the click
> > event of the button. On every click of the button I need to call my own
> > function.


I don't know much about Impress, but generally speaking you:

- make a shape
- place the button in it
(see  Developers Guide - Forms - Programmatic Creation of Controls for
those two)
- get the DrawPage of your Slide
- put the Shape-and-Button on (or in viewn as container) the drawpage
- connect a handler to the "OnClick" event of the button, this is an
"XActionListener"-Interface to be implemented ont the "actionPerfirmed"
event (should be shown in the Developers Guide, too)

HTH,
Marc



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

Reply via email to