macro help in DRAW

Discuss the drawing application
Post Reply
fenlon1983
Posts: 2
Joined: Tue May 13, 2008 10:55 am

macro help in DRAW

Post by fenlon1983 »

Hi guys. I have very little knowledge of writing code in OoDraw so i hope you can help me.

I am currently working on a project in Draw that has a few simple controls that need code. The layout of the project is similar to a website (once you click a link you go to another page): i have a number of different pages with buttons on them. once a button is pressed i would like the active page to become another page (depending on the code i write e.ge page4).

What i need to know is how to implement code to make another page active once a button is pressed???

Can anyone help me?

Thanks guys
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: macro help in DRAW

Post by acknak »

You don't need code for a simple hyperlink button. Just Insert > Hyperlink > Type = Document; Form = Button; Target = SlideX Name (click the target button to get a list).

If there's something else that you do need code for, you should ask over in the Macros and UNO API forum.
AOO4/LO5 • Linux • Fedora 23
fenlon1983
Posts: 2
Joined: Tue May 13, 2008 10:55 am

Re: macro help in DRAW

Post by fenlon1983 »

Cheer mate. That helped.

Thanks
Post Reply