Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Select object with mouse UPDATE for Upgrade 5

Author
Message
Mikko_
21
Years of Service
User Offline
Joined: 16th Aug 2003
Location: Finland
Posted: 16th Aug 2003 12:50
Hi!
Upgrade 5 has now pick object command (congratulations for that).
But if someone still wants function for mouse picking, I
shortened my old one. And here it is:



Mikko
Codger
22
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 18th Aug 2003 04:31
Code fails on

nearest=pick object (mousex(),mousey(),first,last)

as there is no Pick command in DBP

System
PIII 650 MZ H.P. Pavillion
394 Mem GeForce 4 400MX
Jimmy Cool
21
Years of Service
User Offline
Joined: 6th Mar 2003
Location: United States
Posted: 18th Aug 2003 04:43
Codger: "UPDATE for Upgrade 5"

***********************************************
(shameless plug) http://www.dbpcommunity.com/ - FREE Subdomain and Domain hosting for Development related sites! EAT THAT EAT IT!
Mikko
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: Finland
Posted: 19th Aug 2003 04:41
Yes its for the version 5 with pick command.

Here's the older version for DBP:


And here is one for the DBC (Indi's modification):


Mikko

mikko_darkbasic@hotmail.com

Login to post a reply

Server time is: 2024-11-27 19:31:19
Your offset time is: 2024-11-27 19:31:19