View Single Post
  #22 (permalink)  
Old 10-18-2009, 05:31 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Filippo View Post
Can you tell me why it doesn't work?
Because it is not running under Basic4ppc! It needs some data from http://www.basic4ppc.com/forum/code-...arameters.html that are not present, specifically fixX and fixY that are returning negative values and stopping it drawing itself. It also seems to need cPPC but I don't know why. You can fool it by adding the data slots.

Code:
Imports System.Threading
...
Thread.SetData(Thread.GetNamedDataSlot("fixX"), CDbl(1))
Thread.SetData(Thread.GetNamedDataSlot("fixY"), CDbl(1))
Thread.SetData(Thread.GetNamedDataSlot("cPPC"), True)
list = New bList(Me)
...
@Arial - Blist.SuspendLayout and Blist.ResumeLayout are visible but not documented in the help.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote