Thanks to all, who contributed to line up the differences for me. My actual 
case is that I have been using the SimpleDialog feature of the WE module, and 
the ListBox it provides. Yet, there you only can have a maximum of two buttons, 
like one OK, and one Cancel button. Now, my project has grown, and I am in need 
of expanding the number of buttons, due to an increased amount of features in 
that very dialog. And that is why I started to browse for the possibilities in 
the XML dialogs; and got confused. I see now, that the ListBox feature is the 
one to stick with, and again, a great thanks to everyone. Now, over to the code 
update. Smile.


  ----- Original Message ----- 
  From: Chip Orange 
  To: [email protected] 
  Sent: Tuesday, January 21, 2014 1:16 AM
  Subject: RE: ListBox, or ListView


  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 ClowerProduct support specialist & App DevelopmentGW Micro, Inc. * 
725 Airport North Office Park, Fort Wayne, IN 46825260-489-3671 * gwmicro.com

Reply via email to