Information générale
Catégorie:
Contrôles ActiveX en VFP
Did you ever manage to solve this?
>I was wondering if anyone has a way to force Fox to strict data types? I have an ActiveX control that requires that a short integer (16bit according to Fox's DECLARE - DLL help command) and a long integer (32bit, ibid.) Does anyone know how to create such a data component.
>
>Here is what I have tried:
> 1. Just using values:
>
> shtVal = 0
> lngVal = 0
> = thisform.oControl.method(shtVal, lngVal)
>
> 2. Setting charcter strings to the values
> shtVal = CHR(0) + CHR(0)
> lngVal = CHR(0) + CHR(0) + CHR(0) + CHR(0)
> = thisform.oControl.method(shtVal, lngVal)
>
>Any ideas?
>
>Thanks for all your help.
>Ben Keene
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement