karazeh2006 Posted February 24, 2012 Share Posted February 24, 2012 Nice people always share nice work, thank you. Link to comment Share on other sites More sharing options...
estor485 Posted June 26, 2012 Share Posted June 26, 2012 Looks great, but when I use the component, I can't see nothing (in Web mode). I have D2010, I change xxxx15.dcp for xxxx14.dcp, add the route for UniRegionPanel.bpl, any idea? best regards. (Sorry for my bad English) Link to comment Share on other sites More sharing options...
eric Posted July 21, 2012 Share Posted July 21, 2012 nice job. but i'd like to use it in XE2 . do you have a version for 64 bits XE2 ? thanks eric Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 25, 2012 Administrators Share Posted July 25, 2012 There is nothing special for XE2 or other delphi versions: package UniRegionPanelDXE2; {$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} requires uniGUI16; contains UniRegionPanel in 'UniRegionPanel.pas'; end. I successfully complied and ran the example under XE2 using above DPR file. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 25, 2012 Administrators Share Posted July 25, 2012 Looks great, but when I use the component, I can't see nothing (in Web mode). I have D2010, I change xxxx15.dcp for xxxx14.dcp, add the route for UniRegionPanel.bpl, any idea? best regards. (Sorry for my bad English) In Demo app set ExtRoot->"[ext]\" Link to comment Share on other sites More sharing options...
estor485 Posted July 25, 2012 Share Posted July 25, 2012 In Demo app set ExtRoot->"[ext]\" Done, in demo run well, but when I add the component to my project shows error "Access Violation" (attached image), I'm using Delphi 2010, Unigui v.89, any idea? Thanks Best Regards Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 25, 2012 Administrators Share Posted July 25, 2012 You need to set the parent region property Link to comment Share on other sites More sharing options...
estrify Posted July 26, 2012 Share Posted July 26, 2012 You need to set the parent region property Thank you for this component. There is a bug in this component: each time the collapse/expand button is pressed (on any layout: north, south, east or west), the center region becomes smaller (on its length and width) so all other regions becomes bigger. This is more evident if you collapse/expand several times. Could you please revise it. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 26, 2012 Administrators Share Posted July 26, 2012 Thank you for this component. There is a bug in this component: each time the collapse/expand button is pressed (on any layout: north, south, east or west), the center region becomes smaller (on its length and width) so all other regions becomes bigger. This is more evident if you collapse/expand several times. Could you please revise it. I can't reproduce this issue after say, 10-20 times. Of course, I'm using it with Ext JS 4 maybe it is an Ext 3 issue. 1 Link to comment Share on other sites More sharing options...
estrify Posted July 26, 2012 Share Posted July 26, 2012 I can't reproduce this issue after say, 10-20 times. Of course, I'm using it with Ext JS 4 maybe it is an Ext 3 issue. Maybe. We look forward to seeing the new version of unigui thanks!!. Link to comment Share on other sites More sharing options...
estor485 Posted July 26, 2012 Share Posted July 26, 2012 You need to set the parent region property I added a uniregionpanel and have aligned AlClient, over uniregionpanel1 added other uniregionpanel and set region at north,regionable, regionsplit and regiontitlecolapse in true, set uniregionpanel1 like regionparent, when run the application show this message "Access violation at address 0076E661 in module 'StandAloneISAPI.exe'. Read of address 000003D0." any idea? Thank you Best Regards Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 26, 2012 Administrators Share Posted July 26, 2012 I added a uniregionpanel and have aligned AlClient, over uniregionpanel1 added other uniregionpanel and set region at north,regionable, regionsplit and regiontitlecolapse in true, set uniregionpanel1 like regionparent, when run the application show this message "Access violation at address 0076E661 in module 'StandAloneISAPI.exe'. Read of address 000003D0." any idea? Thank you Best Regards Debug source code of component to see where the issue is. Link to comment Share on other sites More sharing options...
estor485 Posted July 26, 2012 Share Posted July 26, 2012 Debug source code of component to see where the issue is. When the error aper I press the button Break and send me to this line "Self.ExtPanel.AddTo(RegionParent.ExtPanel.Items);" in uniregionpanel.pas Note: the error appears when called the form. Any solution? thanks for all, best regards. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 26, 2012 Administrators Share Posted July 26, 2012 Modify code as below: if Assigned(RegionParent) then Self.ExtPanel.AddTo(RegionParent.ExtPanel.Items); Link to comment Share on other sites More sharing options...
estor485 Posted July 26, 2012 Share Posted July 26, 2012 Modify code as below: if Assigned(RegionParent) then Self.ExtPanel.AddTo(RegionParent.ExtPanel.Items); now run ok, Thank you so much! Best Regards and congratulations @Patmap Link to comment Share on other sites More sharing options...
albertovesx Posted August 6, 2012 Share Posted August 6, 2012 now run ok, Thank you so much! Best Regards and congratulations @Patmap ¿where do we have to add those lines? Link to comment Share on other sites More sharing options...
estor485 Posted August 21, 2012 Share Posted August 21, 2012 ¿where do we have to add those lines? Open UniRegionPanel project, in UniRegionPanel.pas locate this procedure procedure TUniRegionPanel.Loaded; and looking for Self.ExtPanel.AddTo(RegionParent.ExtPanel.Items); , and add this line if Assigned(RegionParent) then (this line is before) Best Regards Link to comment Share on other sites More sharing options...
albertovesx Posted October 6, 2012 Share Posted October 6, 2012 Open UniRegionPanel project, in UniRegionPanel.pas locate this procedure procedure TUniRegionPanel.Loaded; and looking for Self.ExtPanel.AddTo(RegionParent.ExtPanel.Items); , and add this line if Assigned(RegionParent) then (this line is before) Best Regards Gracias, Carlos. Link to comment Share on other sites More sharing options...
patmap Posted December 16, 2012 Author Share Posted December 16, 2012 Post #1 updated to v.2.0 Link to comment Share on other sites More sharing options...
stone feng Posted December 22, 2012 Share Posted December 22, 2012 Thank you. Link to comment Share on other sites More sharing options...
ChenHaibin Posted December 22, 2012 Share Posted December 22, 2012 Could you post one for delphi2010 version of it? We have a great need for this version. Thank you! Link to comment Share on other sites More sharing options...
ChenHaibin Posted January 2, 2013 Share Posted January 2, 2013 I tried in the delphi2010, It's great! I made some suggestions.... I saw someone made the same effect as shown below Link to comment Share on other sites More sharing options...
ChenHaibin Posted January 3, 2013 Share Posted January 3, 2013 Hi, I put OnResize property for this problem. You can you this property for solve this. This Example When panel resized My UniXDBGrid1 on then panel resized and fit to parent xPanel. Procedure TFPSample.xpRightResize(This: TExtBoxComponent; AdjWidth, AdjHeight, RawWidth, RawHeight: Integer); Begin UniXDBGrid1.SetBounds( 0, 0, AdjWidth, AdjHeight ) ; End ; Best Regards TExtBoxComponent need to use which unit? Link to comment Share on other sites More sharing options...
patmap Posted January 3, 2013 Author Share Posted January 3, 2013 TExtBoxComponent need to use which unit? Hi, Uses Ext; Regards Link to comment Share on other sites More sharing options...
ChenHaibin Posted January 3, 2013 Share Posted January 3, 2013 Hi, Uses Ext; Regards That is OK! Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now