petguego
7th May 2007, 20:47
I am trying to learn these functions to create special objects in baan, interests much this subject to me but a little costs to understand it to me. I have two requests to see if somebody can help me, first is if they alguen can send a manual to me in Spanish on the creation of special objects in BaaN and the other is on this commando who gives compilation error me, says that DsNminWindowSize and DsNstringArray are not declared.

listbox = create.object(DsCdDListBox, rowcol,
DsNminWidth, 50,
DsNminWindowSize, 1,
DsNmaxWindowSize, 100,
DsNx, 10,
DsNy, 45,
DsNstringArray, list.items, strlen,
DsNselectedId, sel.item)

Thank you very much
Peter Guerrero

george7a
8th May 2007, 09:32
Hi,

I don't not have the manual in spanish but I think this link (http://www.baanboard.com/programmers_manual_baanerp_help_functions_user_interface_objects_example) can be helpful.

- George

petguego
8th May 2007, 17:36
Your you think that the compilation error is by the version of BaaN? I have BaaN IV c4

Thanks

george7a
8th May 2007, 17:46
There are two examples in that link the second one (scroll down to see it) worked on my Baan IVc4.

- George

petguego
8th May 2007, 22:33
shipment the compilation error, not so that dsnstringarray does not recognize the parameter. That will be?


Thank you very much

Peter Guerrero

mark_h
8th May 2007, 22:56
In 4c4 you cannot use dsnstringarray. Below is what I used when I played with this once.


frame.id = create.object(DsClabel, current.mwindow(),
DsNstring, "*",
DsNx, 120, DsNy,120 ,
DsNwidth, 15, DsNheight, 15,
DsNbackground, RGB.RED,
DsNborderwidth, 1,
DsNbordercolor, RGB.RED,
DsNforeground, RGB.RED)