container in grid, size problem
-
2012년 3월 14일 수요일 오후 4:15
i am trying to have container in grid,
in container i have 2 controls and in container resize event i resize this controls by container width
why this resize system don't work when i resize grid column with the container?
모든 응답
-
2012년 3월 14일 수요일 오후 6:26
Hi,
Why you need to use container in grid?
Systems Analyst
-
2012년 3월 14일 수요일 오후 6:33
Try to place this.refresh() in Resize event of that container
Marat Chariev
Semurg Enterprise
------------------------
FRX2Any - where thinking is done for you
www.frx2any.comReportDepot - data that makes sense
[v.05.00.00 beta has been released]
www.frx2any.com
- 편집됨 MTchar 2012년 3월 14일 수요일 오후 6:34
-
2012년 3월 14일 수요일 오후 9:56중재자
Container.Resize does not fire if you resize the column (or event tracking does not show it). Try to bind the inner control resizing to the Column.Resize event. But it will work for horizontal resizing only which is probably fine with you.
- 답변으로 표시됨 Mark Liu-lxfModerator 2012년 3월 22일 목요일 오전 6:03
-
2012년 3월 15일 목요일 오전 1:41
Try to place this.refresh() in Resize event of that container
Marat Chariev
Semurg Enterprise
------------------------
FRX2Any - where thinking is done for you
www.frx2any.comReportDepot - data that makes sense
[v.05.00.00 beta has been released]
www.frx2any.com
You will need also to add few lines of code in Init method of the Grid or method you use to setup the Grid. Use code below to bind column's resize event to custom method - OnColumnResize
FOR lnColumnCount = 1 TO loGrid.ColumnCount loColumn = loGrid.COLUMNS(lnColumnCount) BINDEVENT(loColumn, 'Resize', THISFORM, 'OnColumnResize') ENDFOR
In OnColumnResize method call Resize event of the container
Marat Chariev
Semurg Enterprise
------------------------
FRX2Any - where thinking is done for you
www.frx2any.comReportDepot - data that makes sense
[v.05.00.00 beta has been released]
www.frx2any.com
- 편집됨 MTchar 2012년 3월 15일 목요일 오전 1:41
- 답변으로 표시됨 Mark Liu-lxfModerator 2012년 3월 22일 목요일 오전 6:03

