And if you only need one column, a listbox sure is easier to program with
(as our confused discussion of another thread shows).

I've never worked with them, but I seem to recall you can have columns with
listbox items if you separate the text using tabs and create the entire line
at once.  It's worth looking at if your needs for columns aren't that much.

 

Also, if you only need a listbox in your dialog and perhaps a few buttons,
have a look at the  SimpleDialogs object of the Gw toolkit.  It can keep you
from having to write an xml dialog at all.

 

Chip

 

 

From: Stephen Clower [mailto:[email protected]] 
Sent: Monday, January 20, 2014 3:53 PM
To: [email protected]
Subject: Re: ListBox, or ListView

 

David,

The primary difference between the two controls is that a list view can have
multiple columns (think Windows Explorer), while a list box can contain only
a single column of data.

Steve

On 1/20/2014 3:49 PM, David wrote:

When creating the XML for one of my projects, I see the options for adding
either a ListBox, or a ListView to my Dialog. Could anyone please try to
explain the real difference of these two controls? Are there difference in
what will be presented to the user, or is it merely a matter of different
programming in your code? Sorry for a dumb question, but I want to go for
the better control - right from the start - so thought I would ask for some
experienced assistance.

 

Thanks,

 





-- 
Stephen Clower
Product support specialist & App Development
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com

Reply via email to