Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread $p.create1 is undefined
Thu, Sep 22 2016 4:02 AMPermanent Link

kentersoft

when create a inherited form, have a typeError:

TypeError: ufrmcustomerdropdown_tfrmcustomerdropdown.$p.create1 is undefined

the form is inherited a base form, when call the function to create a form

function GetFrmCustomerDropDown: TFrmCustomerDropDown;
begin
  if not Assigned(FrmCustomerDropDown) then
     FrmCustomerDropDown := TFrmCustomerDropDown.Create(Application);
  Result := FrmCustomerDropDown;
end;

generate such typeError, but make a simple test case can't reappear this,
seem form create call generate this error, so where is the problem, any hit is thanks!
Thu, Sep 22 2016 4:27 AMPermanent Link

Matthew Jones

kentersoft wrote:

> TypeError: ufrmcustomerdropdown_tfrmcustomerdropdown.$p.create1 is
> undefined

This is the sort of thing I would look in the Chrome debug tools for.
Have a look at the object details, and see if you can work out why this
is, and what is really happening.

--

Matthew Jones
Thu, Sep 22 2016 4:54 AMPermanent Link

kentersoft

seems is unit generate sequence relate,
in the compile js file, manual move the base unit ahead solve this,
the base form is behind the inhertied form, need wait a fix, thanks
Thu, Sep 22 2016 5:16 AMPermanent Link

Matthew Jones

kentersoft wrote:

> seems is unit generate sequence relate,
> in the compile js file, manual move the base unit ahead solve this,
> the base form is behind the inhertied form, need wait a fix, thanks

Which version are you using? Tim fixed an issue with
interface/implementation ordering in 2.05. I suspect though that you
may have to live with the order dependency for the moment, if you are
on 2.05. If you are on 2.05 (release) then send the whole project to
Tim and he will be able to work on this for future updates.

--

Matthew Jones
Thu, Sep 22 2016 8:15 AMPermanent Link

kentersoft

<Which version are you using? Tim fixed an issue with
interface/implementation ordering in 2.05. I suspect though that you
may have to live with the order dependency for the moment, if you are
on 2.05. If you are on 2.05 (release) then send the whole project to
Tim and he will be able to work on this for future updates.
>

2.05B4,  I will send Tim some unit interface, thanks!
Thu, Sep 22 2016 12:05 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< 2.05B4,  I will send Tim some unit interface, thanks! >>

I'll check this out and see what the issue is.

Tim Young
Elevate Software
www.elevatesoft.com
Image