Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 13 total
Thread Listview control
Thu, Jun 9 2016 9:29 AMPermanent Link

Godfrey

Ultimatesoft

Hi All

I am looking at developing a mobile(Android) app with a listview control, which linked to a dataset.  I do not see a
listview control. How can this be done in EWB?

How suitable is EWB for mobiles?  It seems to be more suited to desktop apps.

Thanks
Godfrey
Thu, Jun 9 2016 10:18 AMPermanent Link

Matthew Jones

Godfrey wrote:

> I am looking at developing a mobile(Android) app with a listview
> control, which linked to a dataset.  I do not see a listview control.
> How can this be done in EWB?

If the simple TList isn't good, you can do various things. You can use
a TScrollPanel and put child objects on it, perhaps other panels or
forms. Alternatively you can create a component that is like a list but
which uses forms as the items - I have this working and will post the
code sometime.


> How suitable is EWB for mobiles?  It seems to be more suited to
> desktop apps.

I'd say pretty much as good as any other framework. I have an
application in the wild that is designed to run on tablets but works
fine on phones too (gets squeezy!). There are platform quirks, like
Android doesn't tell you when you leave a field IIRC, but those can be
worked around. You just have to choose the right components and it will
work fine. (In EWB v1 I also made a PhoneGap version of my application,
not hard, details were posted to the forums.)



--

Matthew Jones
Thu, Jun 9 2016 10:39 AMPermanent Link

Godfrey

Ultimatesoft

<<I'd say pretty much as good as any other framework. I have an
application in the wild that is designed to run on tablets but works
fine on phones too (gets squeezy!). There are platform quirks, like
Android doesn't tell you when you leave a field IIRC, but those can be
worked around. You just have to choose the right components and it will
work fine. (In EWB v1 I also made a PhoneGap version of my application,
not hard, details were posted to the forums.)>.

<<Matthew Jones>>

I think EWB is pretty powerful framework, but does not get the attention it deserves because it is more
desktop orientated.  Mobiles are all the rage these days.  If EWB had a wider range of controls
for mobiles, I think it would help the product.

Just some thoughts.

Godfrey
Thu, Jun 9 2016 11:15 AMPermanent Link

Matthew Jones

Godfrey wrote:

> because it is more desktop orientated

I can see why people think that, but I don't think it is really true.
It is application oriented, and you can make it look like forms and the
desktop, but equally it is easy to make it into a responsive web
application feel. And the mobile dev I did just used a sensible sub-set
of the components, alongside some custom panel making. And like Delphi,
you have all the basic controls to make compound complex ones.

Have a look at the screens at
http://www.banxia.com/resources/connect/userguide/index.html?rating.htm
which shows my laptop/tablet targetted application. You can use your
finger or mouse to slide the control to your selected rating, or the
keyboard in the edit box. (I'm not claiming these are good mobile
samples, just the ability to make complex controls easily.)

--

Matthew Jones
Thu, Jun 9 2016 11:50 AMPermanent Link

Mark Brooks

Slikware

Avatar

To answer both of your points take a look at the attached. This is an EWB2 application, designed specifically for iPad although also good for desktop and iPhone since it's fully responsive. It allows demonstrates a "custom listview" using a technique not dissimilar to that mentioned by Matthew. EWB is excellent for this type of work.



Attachments: DS Screenshot.tiff
Thu, Jun 9 2016 12:35 PMPermanent Link

Uli Becker

Mark,

> To answer both of your points take a look at the attached.

Excellent design. Just out of interest: which is the font you used on
this site?

Regards Uli
Thu, Jun 9 2016 1:17 PMPermanent Link

Mark Brooks

Slikware

Avatar

Uli Becker wrote:

>>Excellent design. Just out of interest: which is the font you used on
>>this site?

Appreciated Uli. I tend to use Verdana whenever I can as it seems to be available on all desktop and mobile platforms and renders quite nicely.

I just wish I could set it globally .............................. Tim?
Thu, Jun 9 2016 1:30 PMPermanent Link

Uli Becker

Mark,

> Appreciated Uli. I tend to use Verdana whenever I can as it seems to be available on all desktop and mobile platforms and renders quite nicely.

Although I know Verdana quite well I didn't recognize it, my guess was
Calibri or something like that. All the better...
Must be the great design that confused me Smile

Regards Uli
Fri, Jun 10 2016 5:50 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

I develop mobile apps with EWB (and Cordova) and it works great.

It is fairly simple to make your own listview type scontrol, I have
attached a screenshot of a multi line listview that I use in one of my apps.

Chris Holland
[Team Elevate]

On 09/06/2016 14:29, Godfrey wrote:
> Hi All
>
> I am looking at developing a mobile(Android) app with a listview control, which linked to a dataset.  I do not see a
> listview control. How can this be done in EWB?
>
> How suitable is EWB for mobiles?  It seems to be more suited to desktop apps.
>
> Thanks
> Godfrey
>



Attachments: Screenshot EWB List.png
Fri, Jun 10 2016 6:24 AMPermanent Link

Godfrey

Ultimatesoft

<<Mark Brooks wrote:

To answer both of your points take a look at the attached. This is an EWB2 application, designed specifically for iPad although also good for desktop and iPhone since it's fully responsive. It allows demonstrates a "custom listview" using a technique not dissimilar to that mentioned by Matthew. EWB is excellent for this type of work.>>

Very nice.

I just think for new users or trial customers, that is not able to hack the existing controls.  It would be nice to
have a set controls for mobiles.  I think this would be a good selling point for EWB.
Page 1 of 2Next Page »
Jump to Page:  1 2
Image