Re: DLG10 ListBox


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on August 19, 2010 at 07:35:50:

In Reply to: DLG10 ListBox posted by Keith Smith on August 18, 2010 at 22:08:08:

The DLG demo programs are OK when your looking at how the individual control works. Not so good as production examples or how controls are used together in a program.

Comet users are used to using Enter to go from field to field and Cancel as Clear Field. Both will cause you problems in a dialog program if you don't watch out. I've often replaced the default OK and CANCEL buttons with my own buttons. Like EXIT and APPLY. Seems customers like APPLY instead of UPDATE becasue it's more Windowish :)

ListView is a great addition to our tool box but I think you'll find it's slower when dealing with long lists. Run CometEx and open a big directory. Slow to load 1000's of records but a great way to find what you want once you have the list.

Sometimes I suppress Sort and maybe only have 1 column. Example. RA.IBS, the Solutions A/R lookup, needs to list the transactions in the same order as the R1 file. If you allow the user to sort any column, you lose the record order and the user has to go back to the beginning. The old -RA had a 27xx format for the field titles and various other 27yy formats for the data fields and totals. I gave the ListView a single Column and loaded it with 27xx. Because the 27yy formats use @ positioning I didn't need to load each field into its own column. Faster, I hope.

Double-click is also a nice feature. In RA.IBS, if the user double clicks an invoice (or clicks the Display button), I Enter/Exit my Invoice History Display. From which the user can print, fax, or email a copy of the invoice to the customer.

I like Visual Studio because I can put all my dialogs into one DLL. Makes updating the customer easier. I don't like Visual Studio because once a font and size are selected you're stuck with it.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]