AVAX-software.com Forums: CreateBlock(...) had error. - AVAX-software.com Forums

Jump to content

Page 1 of 1

CreateBlock(...) had error. it return zero.

#1 User is offline   hobo Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 25-August 09

Posted 27 August 2009 - 10:35 AM

CreateBlock(...) had error.
it return zero.

-----------------------

...
...

sBlockName = "test"

xIns = 5

yIns = 5

Answer = canvas.CreateBlock(lHandles, sBlockName, xIns, yIns)

...
...

#2 User is offline   elias Icon

  • Newbie
  • Icon
  • Group: Support
  • Posts: 45
  • Joined: 24-October 08
  • Gender:Male

Posted 28 August 2009 - 11:41 AM

Hi,

Try the example for CreateBlock. At Avax Vector ActiveX the function returns boolean and at Avax Vector .NET returns the handle of the block. I tested both examples and they work fine.

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users