Lazarus

Other Languages => Portuguese => Topic started by: arirod on June 03, 2018, 08:43:18 pm

Title: LAMW - using jDBListView - error linking
Post by: arirod on June 03, 2018, 08:43:18 pm
Hello!

I drag only the "jDBlistView" component on the form, when I run it it returns the error message from the Grade.

Can you help?
Title: Re: LAMW - using jDBListView - error linking
Post by: jmpessoa on June 03, 2018, 11:28:03 pm
Hello, Ari!

We have a "deprecation"  issue...  I will try some solution..
 
Can you put here:

"minSDK" ?
"targetSDK" ?

Edited: [you can try a rapid fix..]

Go to LAMW framework  "......\java\lamwdesigner\jDBListView.pas"  and change the line 90:


   ColorDrawable dvdr = new ColorDrawable(this.getResources().getColor(R.drawable.black));

to:

       ColorDrawable dvdr = new ColorDrawable(0xFF000000);  //  <<-------------

Title: Re: LAMW - using jDBListView - error linking
Post by: arirod on June 04, 2018, 05:53:07 am
jmpessoa
Thank you so much!

Your approach has solved my problem!
I can continue the work ..

About your question, it is in attached image.

Thank you,

Ari
TinyPortal © 2005-2018