FieldType

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Nov 13 10:11:09 CST 2005


On 11/12/05 11:38 PM, "Claudius Sailer" <Claudius at sailer-online.de> wrote:

> 
> Am 12. Nov 2005 um 22:24 Uhr schrieb Ruslan Zasukhin:
> 
>> On 11/12/05 11:12 PM, "Claudius Sailer" <Claudius at sailer-online.de>
>> wrote:
>> 
>>> Hi,
>>> 
>>> okay I found it. it changed :-((
>> 
>> I am sorry, but I do not see what was changed.
>> 
>> Valentina 2.0 do have:
>> 
>>         Vfield.Type as Integer
>> 
>> And new property
>> 
>>         Vfield.TypeString as String
>> 
>> Aha, I see. Type of property changed to Integer.
> 
> this was not the problem.
> 
> Type=15 was ObjectPtr in V4RB1 in V4RB2 it is 30 ;-))

Aha I see.

The correct way is to use not numbers! But constants:

    if fld.Type = EVFieldType.kObjectPtr


Then you have safe sources


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list