[Pas2js] property with class external occurr AV

warleyalex warleyalex at yahoo.com.br
Tue Oct 30 20:04:06 CET 2018


I would like to perform a touch slider, this slider it's an external class,
but it occurrs a AV when declaring a property Swiper.

code to reproduce:
------------------------------------------------
type
  JSwiper = class external name 'Swiper'
    constructor New(targetRef: String); overload;
    function slideNext: JSwiper;
  end;

type
  TCustomApplication = class
  private
    FSwiper: JSwiper;
  published
    property Swiper: JSwiper read FSwiper write FSwiper;
  end;   
------------------------------------------
Project: Executing command before: Exit code 1, Errors: 2
Fatal: bug: uncaught EAccessViolation: Access violation
Fatal: EAccessViolation: Access violation




--
Sent from: http://pas2js.38893.n8.nabble.com/


More information about the Pas2js mailing list