-
Sep 20th, 2017, 12:25 AM
#1
Thread Starter
New Member
[RESOLVED] VB.Net Windows Application for Library (SQL-lite)
I am developing a Windows Library application using VB.NET and SQLlite. The application will be individually placed on PCs in the Library.
Books are categorised based on topics.
User will be given a combobox with topics. When a topic is selected, a list should be displayed on the right side with summary of all books in that topic.
The summary will sometimes be long text. On clicking a summary, another windows with all book details will be displayed.
My query is below
1). Which is the best control to display long text with text wrap (other than data grid)
2. Does data grid allows text wraping?
-
Sep 20th, 2017, 01:07 AM
#2
Re: VB.Net Windows Application for Library (SQL-lite)
Originally Posted by binumathew
1). Which is the best control to display long text with text wrap (other than data grid)
It doesn't sound like a DataGridView would be appropriate for the summary part. I would think that you'd want to use a Label or perhaps a TextBox with its ReadOnly property set to True.
Originally Posted by binumathew
2. Does data grid allows text wraping?
Not by default. The DataGridView is very customisable though, so you can achieve much with a bit or a lot of work.
-
Sep 20th, 2017, 02:39 AM
#3
Thread Starter
New Member
Re: VB.Net Windows Application for Library (SQL-lite)
Dear jmcilhinney,
Thank you for your quick response.
But will DataGridView slow down the system? Since many records will be there, should you prefer FlexGrid or something which is lighweight and easily customizable.
thank you, Binu
-
Sep 20th, 2017, 04:24 AM
#4
Re: VB.Net Windows Application for Library (SQL-lite)
Originally Posted by binumathew
Since many records will be there, should you prefer FlexGrid or something which is lighweight and easily customizable.
That is a misconception. A DataGridView generally doesn't contain any controls. It's only when you start editing a cell that a control is created and embedded, and that control is either discarded after the editing session or reused if another cell of the same type is edited afterwards. It's efficient because it simply renders the appearance of controls on the screen but there are no actual controls to slow things down.
-
Sep 20th, 2017, 04:39 AM
#5
Thread Starter
New Member
Re: VB.Net Windows Application for Library (SQL-lite)
Dear jmcilhinney,
Thank you very much for the quick response again. i will take your advise.
-
Sep 20th, 2017, 04:40 AM
#6
Thread Starter
New Member
Re: VB.Net Windows Application for Library (SQL-lite)
Dear jmcilhinney,
Thank you very much for the quick response again. i will take your advise.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|