|
-
Apr 15th, 2009, 09:25 AM
#1
[RESOLVED] Is anyone here working with the Farpoint spread control?
Hi Folks,
I am working with Spread Designer 2.5, after a very long time.
I want to make a few cells in a specific column non editable.
I am populating the spread control from an array. This array has an element "approval_status". If the value of approval status is "Y", then the cell needs to be locked down. I tried using blockmode, but it is not working for me.
Code:
spdApprovalList.Col = mnApprovalStatus
spdApprovalList.CellType = SS_CELL_TYPE_CHECKBOX
spdApprovalList.TypeCheckTextAlign = SS_CELL_H_ALIGN_RIGHT
spdApprovalList.TypeCheckText = "Yes"
spdApprovalList.BlockMode = True
spdApprovalList.Row = ilIdx
spdApprovalList.Row2 = ilIdx
spdApprovalList.Col2 = mnApprovalStatus
spdApprovalList.Lock = True
spdApprovalList.Protect = True
spdApprovalList.BlockMode = False
If arrETApproval(ilIdx).Approval_Status = "Y" Then
spdApprovalList.Col = mnApproveDate
spdApprovalList.text = arrETApproval(ilIdx).Approval_Date
spdApprovalList.Lock = True
spdApprovalList.Protect = True
spdApprovalList.Col = mnApprovedBy
spdApprovalList.text = arrETApproval(ilIdx).Approved_By
spdApprovalList.Lock = True
spdApprovalList.Protect = True
Else
spdApprovalList.TypeCheckType = 0
spdApprovalList.TypeCheckText = "No"
spdApprovalList.Protect = False
End If
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
-
Apr 15th, 2009, 09:54 AM
#2
Re: [RESOLVED] Is anyone here working with the Farpoint spread control?
Figured it out for now.
Code:
spdApprovalList.Col = mnApprovalStatus
spdApprovalList.CellType = SS_CELL_TYPE_CHECKBOX
spdApprovalList.TypeCheckTextAlign = SS_CELL_H_ALIGN_RIGHT
spdApprovalList.TypeCheckText = "Yes"
If arrETApproval(ilIdx).Approval_Status = "Y" Then
spdApprovalList.BlockMode = True
spdApprovalList.Col = mnETApproved
spdApprovalList.Row = ilIdx
spdApprovalList.Row2 = ilIdx
spdApprovalList.Col2 = mnTerminateDate
spdApprovalList.Lock = True
spdApprovalList.Protect = True
spdApprovalList.BlockMode = False
spdApprovalList.Col = mnApproveDate
spdApprovalList.text = arrETApproval(ilIdx).Approval_Date
spdApprovalList.Lock = True
spdApprovalList.Protect = True
spdApprovalList.Col = mnApprovedBy
spdApprovalList.text = arrETApproval(ilIdx).Approved_By
spdApprovalList.Lock = True
spdApprovalList.Protect = True
Else
spdApprovalList.TypeCheckType = 0
spdApprovalList.TypeCheckText = "No"
'spdApprovalList.Protect = False
End If
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
-
Apr 28th, 2023, 02:15 AM
#3
Re: [RESOLVED] Is anyone here working with the Farpoint spread control?
Are you still using this control?
-
Apr 28th, 2023, 07:34 PM
#4
Re: [RESOLVED] Is anyone here working with the Farpoint spread control?
You can still license it. Just USD $1499 per developer.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|