Jump to content
uniGUI Discussion Forums
rullomare

New BMUniDBGrid with MultiSelection Rows and PopUpMenu Vers. 098. and 099.

Recommended Posts

 

Hi,

 

A new version of BMUniDBGrid only for 098.50.1144 and 090...

 

Mr. Bressler has modified the code to support multiselection rows in version unigui 098.50.1144.

 

 

 

Given that Mr. Patmap,   long time ago,  had already written the code for supported PopUpMenu for dbgrid, 

 

I took the liberty (by cloning its code) to add it in this new version of BMUniDBGrid. 

 

Thanks Mr. Patmap, his code still works.

 

 

The little knowledge I have of Unigui, I learned from the Unigui Forum; 

so thanks to all the people who share their knowledge : big or small, all knowledge is useful. 

 

 

 

Sentence as these :"I'm usually you staying away from longer available components since they tend to break with future versions,

 do not want a headache for myself later."    are not very nice .

 

 

No one is forced to use this great resource(sharing).

 

I hope that more people will want to share their knowledge.

 

 

In the world of computer science, sharing has always existed.

 


 

Many large and important  commercial projects are born from  (small) share-projects. 

 

 

====================================================================================

 

Installation : 

 

1) unistall BMUniDbGrid, if installed; 

 

2) change your delphi version. 

 

 

package BMUiniDbGrid;

requires

  rtl,

  vcl,

  UniGUI18;   // XE4 , change your delphi version.  

             

              // XE2  UniGUI16;

              // XE3  UniGUI17; 

              // XE4  UniGUI18; 

              // XE5  UniGUI19; 

              // XE6  UniGUI20; 

              // XE7  UniGUI21; 

 

 

contains

  BMUniDbGrid in 'BMUniDbGrid.pas';

 

end.

 

 

3) Build and Install package. 

 

 

 

4) compile and Run newgridx.dpr

 

post-1298-0-04317900-1423580838_thumb.jpg

 

 


Enjoy !

 

 

 

Salvatore Marullo.

  • Upvote 3

Share this post


Link to post
Share on other sites

hi rullomare

 

i try to install package BMUiniDbGrid in delphi xe3 but raise errors.

 

so i remark this codes :

 

procedure TBMUniDBGrid.JSEventHandler(AEventName: String;
  AParams: TUniStrings);
var
  CurrentPos: TBookmark;
  Vals: String;
  //{$IFDEF COMPILER_18_UP} //XE5 and higher
  ArrayOfIndex: TArray<String>;
  I: Integer;
  //{$ELSE} //XE2 and lower compatibility
  TS : TStrings;
  X  : integer ;
  //{$ENDIF}

 

and here :

 

package BMUiniDbGrid;

//{$R *.res}

{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO ON}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION OFF}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES ON}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DEFINE DEBUG}
{$ENDIF IMPLICITBUILDING}
{$IMPLICITBUILD ON}

 

.

.

 

==========================

 

after i remark that codes, the package can install successfuly.

  • Upvote 1

Share this post


Link to post
Share on other sites

Hi,

 

Change  {$IFDEF COMPILER_18_UP} //XE5 and higher  

 

           in 

 

 

              {$IFDEF COMPILER_17_UP} //XE3 and higher

 

Sorry ! 

  • Upvote 1

Share this post


Link to post
Share on other sites

Hi skepsis,

 

Actually no. Salvatore is woking adding a new feature and I should make some little changes. After that, the component will be available for 64 bits.

 

Cheers

Share this post


Link to post
Share on other sites

Hi skepsis

 

It depends of many personal reasons, but if things goes well, maybe next week could be shared the new solution.

 

Cheers

Share this post


Link to post
Share on other sites

Hi, please make a release that manage virtual scrolling (without classic paging) and I will use it for sure :-)

(waiting Farshad implementation....)

Best regards,

Stefano

Share this post


Link to post
Share on other sites

Hi Stefano

 

That is a little difficult, because:

  1. I should do it in my free time (my little baby consumes almost all of it)
  2. It will require of some investigation on how could be used the Infinite Scrolling of EXTJS here 

But as my friend Salvatore says: "Never say never", so this could be something for future. I hope.

 

Best regards

Share this post


Link to post
Share on other sites

Hi guys

 

Here is an update of BMUniDBGrid.

 

ChangeLog:

Added new feature: Configurable Search options

Source code prepared for 32 and 64 bits

 

There is still needed some code cleaning but it is functional and useful. We hope this component be as useful to you as it is for us.

 

Best regards

 

PS: Updated 10/05/2017

PS: Updated 18/10/2016

PS: Updated 05/10/2015

PS: Updated 14/08/2015

PS: Updated 23/07/2015

 

 

bmunidbgrid.rar

Edited by Bresler
  • Upvote 1

Share this post


Link to post
Share on other sites

Hi guys

 

Here is an update of BMUniDBGrid.

 

ChangeLog:

Added new feature: Configurable Search options

Source code prepared for 32 and 64 bits

 

There is still needed some code cleaning but it is functional and useful. We hope this component be as useful to you as it is for us.

 

Best regards

 

 

this BMUniDBGrid not work PopUpMenu

plz guide

Share this post


Link to post
Share on other sites

Hi valadi

 

It must to be a TUniPopupMenu and it's working. I already tested it.

 

 

 

Cheers

Share this post


Link to post
Share on other sites

Hi valadi

 

Here is the Sample working.

 

I'm using XE7 and uniGUI 0.99.10.1182. Can you try the sample published with the component?

 

Cheers

 

 

post-1557-0-71533600-1435770353_thumb.png

Share this post


Link to post
Share on other sites

×