Hi there, I've got the Farpoint Spread OCX v2.5 and have found what appears to be a major bug. I've downloaded the latest update and i've still got the same problem.
One method of the control is called GetCellFromScreenCoord and this converts a set of screen co-ordinates into the cell over which the mouse is placed. When I used this code in the MouseMove event it always returns -2 for both the row and column even though the code i'm using is the same as that described on the FarPoint website. The code on their site goes something like this: spdReconcilable.GetCellFro mScreenCoo rd lCol, lRow, x, y Where x and y are the mouse co-ordinates. I thought these co-ords would be based on the control so I tried using the ClientToScreen API to convert them to screen co-ordinates but that didn't work either.
Has anyone got any ideas whats going on???
You can provide header and footers that appears on the printed pages. Using the property and property of the class, which may include special control commands, you can specify text and variables, such as page numbers, as well as specify the font settings. The font related commands begin with 'f'.
The control commands that can be inserted in headers and footers are listed in this table: Control Char. Return to the overview of. Using the Properties Window. At design time, in the Properties window, select the FarPoint Spread component. Select the Sheets property.
Click the button to display the SheetView Collection Editor. In the Members list, select the sheet for which to set the header and footer text. In the properties list, double-click the PrintInfo property to display the settings for the PrintInfo class. Set the Header and Footer properties to set the header and footer text. Click OK to close the editor. Using a Shortcut. Create and set the and properties for a object.
Set the Sheet shortcut object property to the object you just created. Alonso y finn fisica pdf. Example This example code prints the sheet with the specified header and footer text. C# // Create PrintInfo object and set properties. FarPoint.Win.Spread.PrintInfo printset = new FarPoint.Win.Spread.PrintInfo; printset.Header = '/lJobName'; printset.Footer = '/r/p of /pc'; // Create SheetView object and assign it to the first sheet.
FarPoint.Win.Spread.SheetView SheetToPrint = new FarPoint.Win.Spread.SheetView; SheetToPrint.PrintInfo = printset; // Set the PrintInfo property for the first sheet. FpSpread1.Sheets0 = SheetToPrint; // Print the sheet.
FpSpread1.PrintSheet(0); Visual Basic ' Create PrintInfo object and set properties. Dim printset As New FarPoint.Win.Spread.PrintInfo printset.Header = '/lJobName' printset.Footer = '/r/p of /pc' ' Create SheetView object and assign it to the first sheet. Dim SheetToPrint As New FarPoint.Win.Spread.SheetView SheetToPrint.PrintInfo = printset FpSpread1.Sheets(0) = SheetToPrint ' Set the PrintInfo property for the first sheet. FpSpread1.Sheets(0).PrintInfo = printset ' Print the sheet.
FpSpread1.PrintSheet(0) Using the Spread Designer. Select the sheet tab for the sheet for which you want to set print settings. Techsmith camtasia studio 8.0.1 serial.
Select the Page Layout option. Choose Print Titles. The Sheet Print dialog appears. Click the Header/Footer tab. Select the Header or Footer radio button to indicate whether you are setting the header or footer text. Type the text for your header or footer in the text box.
You can insert control characters in your text by selecting them from the Control Characters drop-down list box below the text box and then clicking the Add button. Click OK to close the Sheet Print Options dialog. From the File menu choose Apply and Exit to apply your changes to the component and exit Spread Designer. ################################################### 흔히 닷넷 그리드 컨트롤하면 Far Point Spread 컨트롤을 제일 먼저 얘기합니다. 물론 웹 버전은 약간 성능적인 부분이 최적화되어 있지 않은 인상을 받았고 Infragistics사의 컨트롤들이 많이 사용되지만 역시 Far Point Spread는 많이 쓰일 거라 생각됩니다.
그런데 관련 매뉴얼이나 특히 한글 자료는 구하기 힘든게 사실입니다. (2.5 버전에는 한글 매뉴얼이 있는지 모르겠지만) 제가 나름대로 정리해서 만들어 본 사용 가이드를 몇 차례에 걸쳐 올리도록 하겠습니다. 엑셀과 유사한 형태의 스프레드시트 기능을 갖는 데이터 바운드 / 언바운드 그리드 컨트롤 Far Point Technology 사의 스프레드 컨트롤인 Far Point Spread for WebForm은 기존의 Far Point사의 스프레드 컨트롤을 ASP.NET상에서 사용할 수 있게 개발된 서버 사이드 컨트롤로 버전은 2.0 최신 버전이다. Spread 는 2억개의 열과 2억개의 행을 지원한다. 확장된 가상 모드, 프린트 리포트, 연산 작업, 파일 입출력, 데이터 정렬, OLE Drag and Drop, 사용자 변경에 응답, 셀 단위 포맷 기능, 15개의 내장된 셀 형식을 가지고 있다. Far Point Spread for WebForm 은 엑셀의 Sheet 개념을 그리드 컨트롤에 도입한 컨트롤로 각종 표가 많이 나타나는 국내 환경에 적합하며 특히 멀티 헤더는 다른 그리드 컨트롤에서 구현하기 힘든 기능이다.
WebForm 버전은 기존의 COM이나 WinForm 버전과 달리 닷넷 서버 컨트롤 버전이다. 자세한 사용법 및 샘플에 대한 내용은 Far Point Spread for WebForm이 설치된 디렉토리나 메뉴에 사용 /개발 가이드, 샘플 등을 참조한다. 일반적인 특징 최대 20 억줄의 columns 렬을 지원한다. 스트레드시트 컨트롤로 어떤 곳에서나 데이터를 Drag and drop 을 할 수 있다. Clipboard 를 가지고 copy/cut/paste 를 사용할 수 있다.
잠금이 걸려있는 셀에 있는 데이터는 편집을 할수 없습니다. 사용할 수 있는 셀 데이타가 꽉 찾을 경우에는 인근 셀로 넘어갈 수 있다. MS 사의 IntelliMouse 를 지원한다. 가장 위쪽의 columns 과 가장 왼쪽의 rows 은 항상 어떤 데이타가 보여주도록 할 수 있다. Operation mode 에서 단일체크나 여러 개의 리스트박스를 체크함으로써 스프레드를 읽기전용으로 만들 수 있다.
Import 와 export 를 Microsoft Excel 포맷으로 할 수 있다. 아스키 형식상에서 셀이나 스프레드 쉬트 전체를 여러분이 원하는 형태의 파일로 만들 수 있습니다. OLE 의 drag and drop 를 지원한다. 텍스트 팁과 셀 노트를 허용한다. 스프레드는 사용자가 마우스 스크롤을 사용할 수 있다.
셀이나 스프레드 쉬트 전체를 XML 형식으로 export 할 수 있다. 27 개의 methods 와 20 개의 events 제공. Spread Designer 를 사용하면 쉽게 FpSpread의 모양을 디자인할 수 있다. FpSpread는 디자인시에 혹은 런타임시에 가능한 여러 속성을 제공해준다.
Moen Lav Fct 4 Spread 2 Handle Parts
Spread Designer는 FpSpread의 모양을 설정할 수 있는 다양한 속성을 제공해주며 이러한 속성을 모두 이곳에 나열하지는 않았다. Spread Designer 시작하기: Spread Designer는 FpSread의 컨텍스트 메뉴에서 실행시킬 수 있으며 FpSpread의 Property Window의 하단에 있는 링크를 실행해서도 실행시킬 수 있다. Spread Designer 의 인터페이스: 아래 보이는 Spread Designer를 통해 FpSpread의 외양과 기능 (Spread, Data Binding, Sheet, User Interaction, Cell, Row, Column, Skins)을 디자인 타임에 설정할 수 있다. 일부 프로퍼티는 디자인 타임에는 설정할 수 없고 런타임에만 가능한 것도 있고 실행시에만 변경 내용이 반영되는 것도 있다. Spread Designer 사용하기: Spread Designer를 통해 VS.NET으로는 할 수 없는 세세한 것까지 FpSpread의 모양과 동작에 관한 것을 설정할 수 있다. 이러한 Spread Designer의 사용법은 직관적이므로 하나씩 선택하며 작동시켜 보면 쉽게 이해할 수 있을 것이다.
셀 커스터마이징: Spread Designer를 통해 셀의 타입, Formula 적용 등을 지정할 수 있으며 이러한 셀 (혹은 일정 범위의 셀 )의 변경 사항을 preview 탭을 통해 미리 확인해 볼 수 있다.