Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Listbox question
#2
Maybe better use grid control? Look for function sample_Grid_Sqlite, it's in System folder, you can find it with the Find dialog/pane.
Instead of Listbox control it uses grid control. Instead of Edit control, user can add/edit directly in the grid. Saves in a Sqlite database file. Can be modified to save in a CSV file.

If grid is too difficult, can use Listbox. Some example are in the forum but may be difficult to find. I can help but need some more info.
Where the data should be saved? In a file, registry, or just in memory (eg global variable)?
Will it be a simple list or a 2-column table?
Items in the list must be unique?
Will need to save selected items? Or just to get into a variable?
When to get/save dialog data? After closing dialog (OK) or before closing (OK) or without closing (some other button)?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)