little-brother / sqlite-x

The minimalistic SQLite editor for non-programmers
GNU General Public License v2.0
63 stars 3 forks source link

[Feature Request]: Paged, maximized data entry form #9

Closed Gavin-Holt closed 10 months ago

Gavin-Holt commented 10 months ago

Hi,

I am very grateful to you for providing, and amending, this software. Especially as you are busy working on another similar project. My use-case is to design sqlite databases, and ask less computer-literate colleagues to enter data.

One key attraction is sqlite's built in data validation, and using foreign key constraints is a very helpful mechanism. This is especially useful as you kindly built autocompletion into sqlite-x for data entry.

My one remaining problem is the size of the data entry screen.:

I understand there are severe restrictions when using vanilla win32 C code (i.e, no scroll bars, no easy window/field resizing).

Would you be able to paginate data entry, the same way the CSVViewer tool from nirsoft deals with numerous fields?

image

image

The CSVViewer data entry form, detects screen height, and sets the height as large as possible - then offers additional pages for overflow.

It does also have width resizing, simply growing all field text boxes to the right (not repaginating).

This must be fiddly, so just max screen width (and height) would be a simple compromise.

I would love to hear how your other project is progressing.

Kind Regards Gavin Holt

PS These data examples are off the internet - I can't risk using real data.

dummy.csv

little-brother commented 10 months ago

Hi, Gavin, Sorry for a long delay. I struggled with a scroll. It's a terrible tedios thing, so it was hard :)

Please test pre-release version. The next changes were made for Add row-dialog:

I would love to hear how your other project is progressing.

Yes, it's in progress but very slowly :(

Gavin-Holt commented 10 months ago

Dear Andrey,

Once again I am very grateful. The scrolling/resizing data entry dialog is exactly what I wished for - thank you.

I am very happy to use it as it is - but after testing would humbly offer the following feedback about aesthetics:

  1. The form does not follow the selected color theme, although the drop down list do, which looks odd.
  2. Beyond the upper and lower limits, (i.e. < the first and > last field) further scrolling causes a flicker. I guess the form is redrawing - when it does not need to.

Many Thanks

Kind Regards Gavin Holt

little-brother commented 10 months ago

Done.

  1. The color for input fields was fixed.
  2. The redundant redraw was removed.