Newbies aucklandkiwi Posted May 17, 2008 Newbies Posted May 17, 2008 How can I get the [color:red]cursor [color:green]position for recent click of the mouse? in X,Y I mean in the Browse Running mode. How can I use a function like [color:red]Get(current_cursor_point_click, x,y) to catch the cursor information? Is that possible?
Lee Smith Posted May 17, 2008 Posted May 17, 2008 When you are in Layout Mode, GO to the Main Menu, Click on View, and then Object Info. With that info box open, you can click on any object on the layout and get it's position. If this isn't what you mean, let us know. Lee
Newbies aucklandkiwi Posted May 17, 2008 Author Newbies Posted May 17, 2008 I mean in the Browse Running mode. How can I use a function like [color:red]Get(current_cursor_point_click, x,y) to catch the cursor information? Is that possible?
comment Posted May 17, 2008 Posted May 17, 2008 There is no such native function (what would you do with the result?), but there are plugins that provide it.
Newbies aucklandkiwi Posted May 17, 2008 Author Newbies Posted May 17, 2008 (edited) I am new in Filemaker. Anyone can please tell me Where can I get those plugin? and even I don't know how to use plugin. Edited May 17, 2008 by Guest
Newbies aucklandkiwi Posted May 17, 2008 Author Newbies Posted May 17, 2008 I try to make a game. when the mouse click a certain point of a picture, it will change to next picture. So I need to know player clicked the right point or not. Just like that, I think this is the basic function of normal use.
comment Posted May 17, 2008 Posted May 17, 2008 Are you sure you have the right tool? It seems that Flash or even Javascript would be much more suitable for such task. Both could be shown in Filemaker's web viewer, if that must be the final destination. Anyway, maybe one of these plugins will fit your purpose: http://www.quart-edv.de/plugins/mouse_en.html http://www.dracoventions.com/products/gap_filler/ http://www.graphiclife.com/
LaRetta Posted May 17, 2008 Posted May 17, 2008 ...when the mouse click a certain point of a picture, it will change to next picture. So I need to know player clicked the right point or not. Much depends upon the picture and the complexity of your game. If you just want to go to the next picture if they click the right place, you can place a transparent rectangle (or circle) over the place and attach script to it with Go To Record/Request/Page [ next ] or Go To Layout [ where next picture resides] or whatever.
Newbies aucklandkiwi Posted May 19, 2008 Author Newbies Posted May 19, 2008 (edited) So How can I change the rectangle button left top parameter. Many thanks! Edited May 19, 2008 by Guest
LaRetta Posted May 19, 2008 Posted May 19, 2008 I'm unsure by what you mean 'left top parameter.' If your rectangle is transparent, it means that, when you place your cursor in the middle to move it, it won't move. You must grab the edge OR it is simpler to fill it with a color so you can see where you place it. Once placed, turn it transparent again. To grab a transparent rectangle, you must point at the edge until 'handles' appear (black squares at each corner). Then, from status area, select the color wheel and a color. Now you can grab, move and resize the rectangle. You can also use the object info box to move an object easily around. View > Object Info. If (down the right side), it says iin then click the in twice until it turns into px. Now the top number is how many px the object's left edge is from the left edge of the page. If the object's handles are selected, you can move an object around on the page even without touching it. I adore the object info and use it quite frequently. So to move the 'left top parameter' change that first number then tab out of it. The rectangle will move around for you. It allows more precise positioning than you could EVER achieve with your mouse. If I still have missed what you need, please ask using different words so I can pinpoint your need. :wink2:
Recommended Posts
This topic is 6032 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now