Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DB design (Read 4484 times)
filip.geens
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: May 10th, 2006
DB design
May 10th, 2006 at 5:09am
Print Post  
It should be nice to have a checkbox for each field in the database table-designer.  This allows the use of certain fields of that specific table.


  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DB design
Reply #1 - May 10th, 2006 at 8:38am
Print Post  
I believe you can implement that easy like this:

- allocate one column for the check-boxes
- handle the CellClicked event to toggle the row state
- and custom-draw the cells by calling e.Graphics.DrawImage in the DrawCell handler

Stoyan
  
Back to top
 
IP Logged
 
filip.geens
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: May 10th, 2006
Re: DB design
Reply #2 - May 10th, 2006 at 9:16am
Print Post  
I have already done that, but I think it is a nice feature to have it onboard  Grin
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DB design
Reply #3 - May 10th, 2006 at 10:33am
Print Post  
Probably we can implement something more general, like the ControlHost nodes functionality, but in table cells, because people will start requesting other controls too when they see the check boxes Wink
  
Back to top
 
IP Logged
 
filip.geens
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: May 10th, 2006
Re: DB design
Reply #4 - May 10th, 2006 at 10:57am
Print Post  
Looks like a very efficient  solution.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint