RE: Android Native Button

2018-04-03 Thread Ralph DiMola via use-livecode
Yes, I enumerated the font names on the device and used the "Droid Serif" font.

QCC report 21141 submitted.

 

Thanks Brian

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

From: Brian Milby [mailto:br...@milby7.com] 
Sent: Tuesday, April 03, 2018 12:51 AM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: Android Native Button

 

Looking at the code for the android field, it is probably a bug. In that code 
the type is optional pointer and a check is done that a pointer was returned. 
That check is not done for the button. Are you sure the font being specified is 
valid?

I have not done anything android, so this is just a quick read of the LCB code.

On Mon, Apr 2, 2018 at 11:14 PM Ralph DiMola via use-livecode 
<use-livecode@lists.runrev.com> wrote:

I'm receiving the error below. The button does render. I can't change the 
textsize? Have I missed something or should I submit a QCC bug report?

Thanks

occurred on line:0
0,Value is not of correct type for assignment to variable - expected
type for
assigning to a variable tTypefacePtr in
com.livecode.widget.native.android.button.SetTypeface


Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Android Native Button

2018-04-03 Thread Ralph DiMola via use-livecode
Thanks Ali,

I submitted bug https://quality.livecode.com/show_bug.cgi?id=21141

Also in the QCC is that I can't change the font of text size.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Ali Lloyd via use-livecode
Sent: Tuesday, April 03, 2018 3:17 AM
To: How to use LiveCode
Cc: Ali Lloyd
Subject: Re: Android Native Button

Ah yes, we need to apply this
https://github.com/livecode/livecode/pull/6441/files to the android button
as well

On Tue, Apr 3, 2018 at 5:51 AM Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Looking at the code for the android field, it is probably a bug. In 
> that code the type is optional pointer and a check is done that a 
> pointer was returned. That check is not done for the button. Are you 
> sure the font being specified is valid?
>
> I have not done anything android, so this is just a quick read of the 
> LCB code.
> On Mon, Apr 2, 2018 at 11:14 PM Ralph DiMola via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
> > I'm receiving the error below. The button does render. I can't 
> > change the textsize? Have I missed something or should I submit a QCC
bug report?
> >
> > Thanks
> >
> > occurred on line:0
> > 0,Value is not of correct type for assignment to variable - expected 
> > type for assigning to a variable tTypefacePtr 
> > in com.livecode.widget.native.android.button.SetTypeface
> >
> >
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdim...@evergreeninfo.net
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android Native Button

2018-04-03 Thread Ali Lloyd via use-livecode
Ah yes, we need to apply this
https://github.com/livecode/livecode/pull/6441/files to the android button
as well

On Tue, Apr 3, 2018 at 5:51 AM Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Looking at the code for the android field, it is probably a bug. In that
> code the type is optional pointer and a check is done that a pointer was
> returned. That check is not done for the button. Are you sure the font
> being specified is valid?
>
> I have not done anything android, so this is just a quick read of the LCB
> code.
> On Mon, Apr 2, 2018 at 11:14 PM Ralph DiMola via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I'm receiving the error below. The button does render. I can't change the
> > textsize? Have I missed something or should I submit a QCC bug report?
> >
> > Thanks
> >
> > occurred on line:0
> > 0,Value is not of correct type for assignment to variable - expected
> > type for
> > assigning to a variable tTypefacePtr in
> > com.livecode.widget.native.android.button.SetTypeface
> >
> >
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdim...@evergreeninfo.net
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android Native Button

2018-04-02 Thread Brian Milby via use-livecode
Looking at the code for the android field, it is probably a bug. In that
code the type is optional pointer and a check is done that a pointer was
returned. That check is not done for the button. Are you sure the font
being specified is valid?

I have not done anything android, so this is just a quick read of the LCB
code.
On Mon, Apr 2, 2018 at 11:14 PM Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I'm receiving the error below. The button does render. I can't change the
> textsize? Have I missed something or should I submit a QCC bug report?
>
> Thanks
>
> occurred on line:0
> 0,Value is not of correct type for assignment to variable - expected
> type for
> assigning to a variable tTypefacePtr in
> com.livecode.widget.native.android.button.SetTypeface
>
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode