problems with old projects in odcl 5.105?

Started by Amsterdamned, May 13, 2009, 01:04:36 AM

Previous topic - Next topic

Amsterdamned

Hello there,
I just restarted my programming work after a period of only design work. I downloaded the odcl 5.105 and my 4.0 projects don't work anymore. I need to give a presentation tomorrow, so I feel a bit stupid that I downloaded the new version. It sees to be a problem with the
Code (dcl_ListBox_GetSelectedNths) Select
.

is there a quick fix to that or better said is this a known thing. Can I get back to 4.0?

Thanks in advance,


Bernd
Bernd
Dell Precision M6400
XP SP3 Acad2006/2007

Amsterdamned

 

Also when loading the form it already gives an alert:

An opendcl function argument processing exception has occurred!

Error Invalid argument type

Function: odc_Control_SetValue
Argument: 1

This form was working with no problems in the 4.0 environment.

Bernd
Bernd
Dell Precision M6400
XP SP3 Acad2006/2007

Kerry

Perfection is not optional.
My other home is TheSwamp

Kerry



What is the problem wou have with dcl_ListBox_GetSelectedNths ??
Perfection is not optional.
My other home is TheSwamp

Amsterdamned

Kerry,

For the moment (tomorrows meeting I have to present some stuff) I set I back to my working environment.

The
dcl_ListBox_GetSelectedNths

Gave nil as result although I was selecting some item. I just looked at the migration link and will look further into it after tomorrows meeting. If that goes well I will have plenty of programming work to do, and change al my stuff to 5.1.

Thans for your effort,

Bernd
Bernd
Dell Precision M6400
XP SP3 Acad2006/2007

BazzaCAD

If you find any other issues that aren't in the migration guide, please let us know.
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

owenwengerd

Quote from: Amsterdamned on May 13, 2009, 01:04:36 AM
It sees to be a problem with the
Code (dcl_ListBox_GetSelectedNths) Select
.

There are no known problems with that function. My guess is that your listbox selection style is not set to one of the multiple selection styles. If that's the case, use (dcl_ListBox_GetCurSel) instead.

Amsterdamned

owen,

sorry for the late reply, but it took me a while to get back to that problem. Your idea worked, i use dcl_ListBox_GetCurSel now and it works.
Thanks you all


bernd
Bernd
Dell Precision M6400
XP SP3 Acad2006/2007