Jump to content


Photo

GridStyles in NextGrid v5


  • Please log in to reply
No replies to this topic

#1 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,829 posts
  • Gender:Male

Posted 28 April 2007 - 01:07 AM

Dear Visitors,

I like to discuss here about new GridStyles handling in NextGrid v5.

In version 5 of NextGrid, there will be no GridStyle property in classic way.

Every Style will be separated object, and user will be able to chose one or more styles per Grid. Example:

NextGrid1:
- ReportStyle1
- ReportStyle2
- SlideStyle1
- SlideStyle2
- IconStyle1

Code:

CODE
TNxGridStyle = class

end;

TNxReportStyle = class(TNxGridStyle)
  ...
  property FixedCols;
  property RowHeight;
  ...
end;

TNxSlidesStyle = class(TNxGridStyle)
  ...
  property SlideHeight;
  property SlideSelectionColor;
  ...
end;


Initial code is allready finished, and main work will start in July. Every registered user will get new version for free as usuall.

Column structure will not be changed, and every style will share columns (like in current version).

Main Advantages:
- Drawing code will be separated for different styles.
- New GridStyles may be easily created in future (IconStyle, CardStyle...)
- If Grid use only report style, code for Slides style will not be loaded.

User will be able to menage current styles within small component editor (like for Collections)

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users