Intellisense Not Showing Properties and Methods

Posted by: mcmahling on 8 September 2017, 12:38 pm EST

  • Posted 8 September 2017, 12:38 pm EST

    I am testing the FPSpread for Win Forms. I wrote a simple program to create a fpSpread at runtime. The program runs but my problem is that the properties and methods are not showing in intellisense. Can anyone suggest the reason why? When I drag a control to the form intellisense does recognize the instance as belonging to the FarPoint namespaces. My code is below.
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />Imports FarPoint.Win.Spread
    <br />Imports FarPoint.Win.Spread.SheetView
    <br />
    <br />Sub CreateRosterSpread(ByVal dataset1 As DataSet)
    <br />
    <br /> Dim rosterSpread = New FarPoint.Win.Spread.FpSpread
    <br /> Dim rosterSheetCover = New FarPoint.Win.Spread.SheetView
    <br /> Dim rosterSheetActiveVols = New FarPoint.Win.Spread.SheetView
    <br /> Dim rosterSheetDepartedVols = New FarPoint.Win.Spread.SheetView
    <br /> Dim rosterSheetProjectCodes = New FarPoint.Win.Spread.SheetView
    <br /> Dim rosterSheetInfo = New FarPoint.Win.Spread.SheetView
    <br />
    <br /> rosterSpread.Dock = DockStyle.Fill
    <br /> rosterSpread.Name = "Roster"
    <br /> rosterSpread.RetainSelectionBlock = False
    <br /> rosterSpread.Sheets.AddRange(New FarPoint.Win.Spread.SheetView() {rosterSheetCover})
    <br /> rosterSpread.Sheets.AddRange(New FarPoint.Win.Spread.SheetView() {rosterSheetActiveVols})
    <br /> rosterSpread.Sheets.AddRange(New FarPoint.Win.Spread.SheetView() {rosterSheetDepartedVols})
    <br /> rosterSpread.Sheets.AddRange(New FarPoint.Win.Spread.SheetView() {rosterSheetProjectCodes})
    <br /> rosterSpread.Sheets.AddRange(New FarPoint.Win.Spread.SheetView() {rosterSheetInfo})
    <br />
    <br /> rosterSheetCover.SheetName = "Cover"
    <br /> rosterSheetActiveVols.SheetName = "Active Vols"
    <br /> rosterSheetDepartedVols.SheetName = "Departed Vols"
    <br /> rosterSheetProjectCodes.SheetName = "Proj Codes"
    <br /> rosterSheetInfo.SheetName = "Info"
    <br />
    <br />
    <br /> 'This code adds the spreadsheet to the form controls collection and allows it to be seen
    <br /> Me.Controls.Add(rosterSpread)
    <br />
    <br /> End Sub
    <br />
  • Replied 8 September 2017, 12:38 pm EST

    What version are you using?  I tried this code and it worked and intellisense brought up the appropriate properties...<br><br>Imports FarPoint.Win.Spread.FpSpread<br>Imports FarPoint.Win.Spread.SheetView<br>Imports FarPoint.Win.Spread<br>Imports System.Windows.Forms.Control<br>Public Class Form1<br><br>Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br>Dim fpSpread1 As New FarPoint.Win.Spread.FpSpread()<br>Dim shv As New FarPoint.Win.Spread.SheetView()<br>fpSpread1.Location = New Point(10, 10)<br>fpSpread1.Height = 200<br>fpSpread1.Width = 400<br>Controls.Add(fpSpread1)<br>fpSpread1.Sheets.Add(shv)<br><br><br>End Sub<br>End Class<br>
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels