Jump to content

rullomare

uniGUI Subscriber
  • Posts

    131
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by rullomare

  1. 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. SHARE (computing) http://en.wikipedia.org/wiki/SHARE_%28computing%29 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 BMUniDBGrid1144.zip Enjoy ! Salvatore Marullo.
  2. Hi Popo, There are components that can help you: Extra UniGUI Components Especially UniZpoupMenu for DBGrid. The components were written for the first time by Mr. Patmap and later revisited by Mr. Farshad. I tried the component UniZPopupMenu with version 0.98.50.1144 and seems to work (small changes). http://forums.unigui.com/index.php?/topic/2652-extra-unigui-components/page-5&do=findComment&comment=18357 P.s. TBMunidbgrid is writen By Mr. Bressler and me. Regards Salvatore Marullo
  3. Hi popo, if you can not wait for the new version Unigui that supports Action Columns, I can post a fix for version 0.98.50.1144. P.S. without MultiSelection. Regards, Salvatore Marullo
  4. Hi, New Components IPhone Style Buttons - FormFields, Toolbar, Button Toggles. Plugin from =>> http://www.sencha.com/forum/showthread.php?226679-iPhone-Style-Toggle-Slide-for-ExtJS Toggles.zip For documentation of the properties of the components see Doc.txt (sencha documentation in zip File) . Only tested with Delphi XE3,XE4 and Unigui 0.96,0.97,0.98,0.90 (03/09/2015) I think it also works with version 0.95. I do not think there are big problems with the other version of Delphi. . The folder Files (in zip) contains the files js + css. 1) Build and install UnixToggleButton.dpk,UnixToolBarToggleButton.dpk,UnixFormToggleButton.dpk 2) compile and run senchaToggle.dpr Have fun. Let me know! Tested with Unigui 0.99.50 (03/09/2015) Salvatore Marullo
  5. hi Wagner Barros, rebuild the package with the new of BMUnidbgrid.pas. Fix.zip regards
  6. Hi Kiener, Fine ! Honestly, I do not know. it is nice to see, especially if you are not using PagingToolbarResizer and you can see graphically how many records you've already displayed in grid . Set the property ProgressBarPager to true, and you can see the result. see : http://forums.unigui.com/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=2264 Regards
  7. Hi Kiener, Define in ServerModule -> CustomFiles files/PagingToolbarResizer.js files/ProgressBarPager.js please uses the files that I have attached to "Files" folder of demo program : I made some small changes to avoid the message you received . I hope this will solve your problems. P.Š. you do not need UniZDBGrid , sorry. regards.
  8. Hi Kiener, check the LOG file for messages. Have you tried the demo? Regards
  9. Hi Kiener, Updated Version of TBMUniDBDGrid see : http://forums.unigui.com/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=2264 NewTBMUniDBDGrid.zip let me know. Regards
  10. hi, I think we've created a bit of confusion with the new release of Unigui and ExtJS (0.97 and ext-4.2.2.1144), especially with Plugins (PageSize e ProgressBar Extension) posted by Delphi Developer. It seems to me that everything works as before. I made some small changes to the TBMUniDBGrid and this is the result, without writing a line of code from the client site. If anyone is interested, I can post the changes. Best Regards .
  11. Hi, Sencha plugin - iPhone-Style-Toggle-Slide-for-ExtJS (Buttons) for Unigui. http://www.sencha.com/forum/showthread.php?226679-iPhone-Style-Toggle-Slide-for-ExtJS For documentation of the properties of the component see Doc.txt (sencha documentation in zip File) . Only tested with Delphi XE3 and Unigui 0.96,0.97, I think it also works with version 0.95. I do not think there are big problems with the other version of Delphi. . ToggleButtons.zip 1) Build and install TunixToggleButton.dpk 2) compile and run XTogglebutton.dpr Have fun. Let me know! P.Š. maybe soon I will post a new component "Form Field Toggles". Salvatore Marullo
  12. Hi Kiener , Let's see if I can explain. If you use my BMUnidbgrid component has the ability to add PagingToolbarResizerer posted by Mr. Delphi Developer. Please set Property PagingToolbarResizer to true . See: OK! in truth I did not foresee the possibility of using the original unigui PagingToobar, also because the one posted by Mr. Delphi Developer seems to me more nice. I hope I was clear. Best Regards Salvatore Marullo
  13. Hi ganzqgy, With the original version posted works correctly. You should only recompilare. Anyway thanks for the tip! JSObjects.JSClasses['pagingBar'] := 'Ext.toolbar.Paging'; ?? Problem. Salvatore Marullo
  14. Hi Delphi Developer, Thanks for Plugin. I wrote a very small component inherited from TuniEdit where I added a single Property "NumberFormat" and copying your code, I implemented AfterRender event. If leave blank the NumberFormat property, the component behaves exactly like TuniEdit. Problems with the component : The component, just as it is written, only works with the new version of Unigui (0.96,0.97). For older versions? , Booo. The solution of Delphi Developer, I believe also works with the old vesion of Unigui . Tested Only with Delphi XE3 MskEdit.zip Best Regards.
  15. Hi ganzqgy, Not tested in Delphi XE2. Maybe you can help. =============================== procedure TBMUniDBGrid.JSEventHandler(AEventName: String; AParams: TUniStrings); var Vals: String; ArrayOfIndex: TArray<String>; I: Integer; CurrentPos: TBookmark; var Ts : Tstrings ; // New XE2 x : integer ; // New XE2 begin inherited; if SameText (AEventName,FActionColumnEvent) then begin if assigned(Self.OnButtonAction) then self.OnButtonAction(self,AParams.Values['Buttons']) ; end else if SameText (AEventName,'SelectedRows') then begin try SelectedRows := strtoint(AParams.Values['RowsCount']); except SelectedRows := 0 ; end; end else if sametext(AEventName,'selectionchange') then begin Self.FSelectionListObject.RawValueOfIndex := AParams.Values['ArrayOfIndex']; Vals := Self.FSelectionListObject.RawValueOfIndex; // Vals := Vals.Replace('[', ''); // Vals := Vals.Replace(']', ''); Vals := StringReplace( Vals, '[', '', [RfReplaceAll] ); // XE2 Vals := StringReplace( Vals, ']', '', [RfReplaceAll] ); // XE2 // ArrayOfIndex := Vals.Split([',']); // XE2 Ts := Tstringlist.Create ; ts.Delimiter := ',' ; ts.DelimitedText := Vals ; SetLength(ArrayOfIndex, ts.Count); // added by mr. ganzqgy for x := 0 to ts.Count- 1 do begin ArrayOfIndex[x] := ts.Strings[x] ; end; Ts.free // XE2 ....... ........ Regards
  16. Hi Kiener, My Problem !!! Sorry. replaces the file BMUnidbgrid.pas and rebuild the package . BMUnidbgrid_pas.zip Let me know if it works. Regards.
×
×
  • Create New...