Jump to content
uniGUI Discussion Forums
patmap

Region Slider Panel

Recommended Posts

Hi,

 

TUniRegionPanel a new component for UniGUI that make a multi region panel with split and slider !

 

Version 2.0.0

 

* Compiled with XE3

* Bug Fixed on RegionParent is nil

* Added Layout Property (lyAccordion or lyBorder) . Other layouts under working.

* Added AutoScrollContent property for hide or show auto scroll content if larger than panel.

 

New:

	
Property Layout 			: TExtContainerLayout Read FLayout Write FLayout Default LyBorder;
Property AutoScrollContent  : Boolean Read FAutoScrollContent Write FAutoScrollContent Default False;

 

Properties:

 

	
Property Regionable: Boolean ; // For MainParent RegionPanel = False and For child RegionPanel = True
Property RegionSplit: Boolean ;  // For MainParent RegionPanel = False and For child RegionPanel = True or False
Property RegionFrame: Boolean ; // Better set to true
Property RegionTitleCollapse: Boolean ; // click on title colapse panel
Property RegionCollapsible: Boolean ; // For MainParent RegionPanel = False and For child RegionPanel = True or false
Property Region: TExtBoxComponentRegion ; // west or east or ...
Property RegionParent: TUniRegionPanel ; // Set parent of child region panels
Property ResgionTitle: AnsiString ; // Panel title
Property Vesrion : string ; // readonly

 

 

For use See Example.

 

Enjoy it!

 

post-224-0-51887600-1312034335_thumb.png

 

Coment Errors or Futures.

 

Best Regards

UniXPanel-v.2.0.0.zip

  • Upvote 2

Share this post


Link to post
Share on other sites

Not working with Delphi 2007 and last unigui vcl :(

 

I hope Farshad can add this component directly to the library making it compatible with all delphi version :rolleyes:

Share this post


Link to post
Share on other sites

Not working with Delphi 2007 and last unigui vcl :(

 

I hope Farshad can add this component directly to the library making it compatible with all delphi version :rolleyes:

 

Hi

 

I'm sory but i dont have D2007.

 

Regards

Share this post


Link to post
Share on other sites

Not working with Delphi 2007 and last unigui vcl :(

 

I hope Farshad can add this component directly to the library making it compatible with all delphi version :rolleyes:

 

I didn't have time to download and test the component but since source is included I think it should be compilable in all Delphi versions.

Share this post


Link to post
Share on other sites

Hi,

 

TUniRegionPanel a new component for UniGUI that make a multi region panel with split and slider !

 

Properties:

 

	
Property Regionable: Boolean ; // For MainParent RegionPanel = False and For child RegionPanel = True
Property RegionSplit: Boolean ;  // For MainParent RegionPanel = False and For child RegionPanel = True or False
Property RegionFrame: Boolean ; // Better set to true
Property RegionTitleCollapse: Boolean ; // click on title colapse panel
Property RegionCollapsible: Boolean ; // For MainParent RegionPanel = False and For child RegionPanel = True or false
Property Region: TExtBoxComponentRegion ; // west or east or ...
Property RegionParent: TUniRegionPanel ; // Set parent of child region panels
Property ResgionTitle: AnsiString ; // Panel title
Property Vesrion : string ; // readonly

 

For Delphi XE

 

Version 1.0.0

 

For use See Example.

 

Enjoy it!

 

Thank you.

Share this post


Link to post
Share on other sites

I can compile and install it on Delphi 2007.

When open demo or add the component to a uniguidemo the browser dosn't load the page.

 

I didn't have time to download and test the component but since source is included I think it should be compilable in all Delphi versions.

Share this post


Link to post
Share on other sites

I can compile and install it on Delphi 2007.

When open demo or add the component to a uniguidemo the browser dosn't load the page.

 

 

 

 

Hi,

 

Check ExtRoot path on ServerModule !

 

Best Regards

Share this post


Link to post
Share on other sites

Delphi 2010

 

Change the dcp references from 15 to 14 (uIndy15.dcp -> uIndy14.dcp etc)

 

Compiles and install without issue.

Demo sticks on 'Loading' in the browser though.

Share this post


Link to post
Share on other sites

Delphi 2010

 

Change the dcp references from 15 to 14 (uIndy15.dcp -> uIndy14.dcp etc)

 

Compiles and install without issue.

Demo sticks on 'Loading' in the browser though.

 

Hi,

 

because browser can't found Ext Path !!!

 

Best Regards

Share this post


Link to post
Share on other sites

>>Check ExtRoot path on ServerModule !<<

 

Fixes loading issue

The splitter function works fine but the tree view /tabs and buttons are not drawn correctly

 

Cheers

post-24-0-73796300-1312362253_thumb.jpg

Share this post


Link to post
Share on other sites

>>Check ExtRoot path on ServerModule !<<

 

Fixes loading issue

The splitter function works fine but the tree view /tabs and buttons are not drawn correctly

 

Cheers

 

 

Hi,

 

I test it again, work fine!!!

 

post-224-0-54922300-1312362571_thumb.png

 

Best Regards

Share this post


Link to post
Share on other sites

I'm clearly doing something wrong here...

 

I added some more controls to the panel

and the demo has now reverted back to 'loading'

the Ext Path parameter is still set correctly.

Share this post


Link to post
Share on other sites

Very useful component, but I have some details on the deployment with chrome, in some areas of the component.

 

Thanks and regards :)

post-49-0-96076400-1313431332_thumb.png

post-49-0-71580200-1313431345_thumb.png

Share this post


Link to post
Share on other sites

Very useful component, but I have some details on the deployment with chrome, in some areas of the component.

 

Thanks and regards :)

 

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Hello patmap.

 

When the panel is collapsed, the title is not seen.

 

Thanks

 

------------------------------

 

Hola patmap.

 

Cuando el panel esta colapsado, el titulo no se ve.

 

Gracias

Share this post


Link to post
Share on other sites

There are some bug in this component,if you click left or right align buttons again and again,then the postions of top、Bottom、left、right will be error...... :rolleyes:

Share this post


Link to post
Share on other sites

Hello !!!

 

I was trying to install this component and it was not possible. It compile well, but I could not install due to this error:

 

post-125-0-13596300-1324387177_thumb.png

 

PS: I install the last release of UNIGUI today and I use Delphi 2009.

Share this post


Link to post
Share on other sites

Hello !!!

 

I was trying to install this component and it was not possible. It compile well, but I could not install due to this error:

 

post-125-0-13596300-1324387177_thumb.png

 

PS: I install the last release of UNIGUI today and I use Delphi 2009.

 

Hi,

 

I think you install both unitools12 and unitools15 , if this right , you must be use one of them.

 

Regards

Share this post


Link to post
Share on other sites

Hello Patmap!

It would be nice that when panel is collapsed title stay visible. I very need this future, could you implement it? or how to implement it?

Share this post


Link to post
Share on other sites

×