Jump to content


Photo

New DB Component for use with NextDBGrid


  • Please log in to reply
2 replies to this topic

#1 PhilW

PhilW
  • Members
  • 75 posts

Posted 02 November 2008 - 06:33 PM

Hi, Boki,

I have an idea for a new component that will enhance the attractiveness of your NextDBGrid product.

The idea came about from the realization that most of the times I am using a DBgrid is in a master/detail form, with the grid providing the detail data. I don't want to use a full navigator bar with the grid, since there is already one handling the master data; so I end up with a group of three or four buttons to add, save edits, cancel edits, etc.

So, perhaps a navigator bar shown in a visual tab control would be a nice solution. Call it a 'NaviTab". It could be there is a control like this already in the marketplace, but i am not aware of it.

I am quite taken by the idea, so I have played with my graphics package and have created some mockups of what this new control may look like (attached):

* Navitab_HorizontalExample.bmp shows the control in horizontal format, below the NextDBGrid.
* Navitab_HorizontalExample_3.bmp shows the control with slanted edge, rather than a square edge
* Navitab_VerticalExample.bmp shows (not very well) the control in a vertical, left hand side format.
Finally,
* Navitab_withNextDBGridexample.bmp shows how the control would look with a grid.

I believe you already have code that is needed for this control - the tabs from NxPageControl; the NxPanel and the very nice NxButtons (which I used in the mockup images).

Perhaps also the control could have a property that determines that when the 'Add+' button is clicked, the NextDBGrid either inserts a row, appends a row, or uses the InputLine. I am sure that there are other specific features of the NextDBGrid that could be manipulated via this control.

Just a thought,
Regards,
Phil.

Attached Files



#2 xr1140

xr1140
  • Members
  • 13 posts
  • Gender:Male
  • Location:Bucharest
  • Interests:vfx artist during the day, delphi programmer during the night

Posted 12 January 2011 - 11:39 AM

can anybody see those pictures ? because i can`t sad.gif

#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 12 January 2011 - 12:36 PM

Hello,

It seems that maybe Phil have delete them, or forum broke a links to them sad.gif

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users