Error in Win32Lib - prob bad code

new topic     » topic index » view thread      » older message » newer message

Hi Euphorians

I am trying to do a table using a list window and have the following code:
---start code---
   listwin = create(Window,"Quick Key Assign to Program",
     0,Center,Center,400,400,0)
   alist = create(ListView,{"Key - Program to Launch - Parameters"},
     listwin,5,5,350,340,0)
   for ib=1 to 36 do
     i = insertItem(alist,"something",ib)
   end for
   openWindow(listwin, Normal)
---end code---

When I run this code I get the following error from the insertItem line:
   C:\EUPHORIA\DL\Win32Lib\Include\Win32lib.ew:16901 in function
   insertItem()
   variable msg has not been assigned a value

I guess that I have coded it wrong some way, possibly used a wrong 
combination of calls. Help!

Ray Tomes

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu