Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 8:34 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: February 15th, 2008, 11:04 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi Joe,

What a wonderful solution :-) and somebody that uses the Debug.trace command :-) :-)

The idea works well and if it meets your need then there is little you need to do. I've changed the code slightly as your arrays and listbox where not zero indexed and clicking outside the listbox range caused an error.

Mack


You do not have the required permissions to view the files attached to this post.

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 15th, 2008, 3:18 pm 
Offline

Joined: December 25th, 2004, 3:31 pm
Posts: 178
Thanks Mack,

As yes some error checking is all good to add. I was using the code to pull data from DB and then inserting it at end.

Debug.trace, oh yeah, one of the most useful pieces of code in Opus. Opus really is a super powerful tool.


Top
 Profile  
 
 Post subject:
PostPosted: February 15th, 2008, 6:17 pm 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
Interesting topic and good thoughtful examples shown.
Just a word on cloning -- there are very few times that cloning is essential.
The easiest way is to park any extra objects you require off screen and pull them in when you need them.

cheers
Paul


Top
 Profile  
 
 Post subject:
PostPosted: February 16th, 2008, 10:08 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
For those with a memory like mine - you need to hold the CTRL key down whilst dragging an object outside a frame or off a page.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 19th, 2008, 10:20 am 
Offline

Joined: December 25th, 2004, 3:31 pm
Posts: 178
Hello Paul,

Clone is ideal for this example as you can now use an external text file or database to get data and display in text box with tick boxes. Using the clone function does not limit the number of items in the scrollbar, which would happen if the objects are just off screen.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 44 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group