Print Page | Close Window

Editing text doesn't work no more

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=16330
Printed Date: 15 November 2024 at 8:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Editing text doesn't work no more
Posted By: Fabian
Subject: Editing text doesn't work no more
Date Posted: 02 March 2010 at 9:50am
Hi,
 
Using CJ V13.3.0, VB6/SP6, Win7.
 
Since I updated to 13.3 editing a cell of a RC doesn't work anymore. I set:
 
RC.AllowEdit=True
 
and after creating the cell...
 
Item.CreateEditOption
Item.EditOptions.AllowEdit=True
item.EditOptions.MaxLength=60
 
the cell is NOT editable???
 
What do I wrong?


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6



Replies:
Posted By: SuperMario
Date Posted: 02 March 2010 at 10:48am
Set CanEditCheckboxItem = True for the items  Will fix for next release.


Posted By: Fabian
Date Posted: 02 March 2010 at 11:18am
Sorry SuperMario,
 
I jumped back to 12.2.1 because it helps me not too much if I have fixed some bugs and see some new ones. This is an endless workaround scenario that cost too much time for me!


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6


Posted By: Fabian
Date Posted: 03 March 2010 at 1:59am
Please post message if a corrected OCX is avalable.
 
Thanks


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6


Posted By: SuperMario
Date Posted: 03 March 2010 at 9:01am
Hi,
13.3.1 is building right now...should be tonight\tomorrow morning.


Posted By: SuperMario
Date Posted: 04 March 2010 at 5:18pm
13.3.1 is now out to fix this.


Posted By: jpbro
Date Posted: 22 March 2010 at 3:39pm
I'm using 13.3.1, and an old project that has a ReportControl that used  to be editable, is no longer editable. Here's my Init code:


With Me.ReportControl1
      With .Columns.Add(col_Actions, "Actions", 50, False)
         .Editable = False
      End With

      With .Columns.Add(col_HostName, "Host Name/IP Address", 150, True)
         .Alignment = xtpAlignmentVCenter + xtpAlignmentLeft
         .Editable = True
         With .EditOptions
            .MaxLength = 255
            .SelectTextOnEdit = True
            .EditControlStyle = xtpEditStyleLowerCase
         End With
      End With

      With .Columns.Add(col_HostPort, "Port", 75, False)
         .Alignment = xtpAlignmentRight + xtpAlignmentVCenter
         .Editable = True
         With .EditOptions
            .MaxLength = 5
            .SelectTextOnEdit = True
            .EditControlStyle = xtpEditStyleNumber
         End With
      End With

      With .Columns.Add(col_LastConnected, "Last Connected", 200, False)
         .Alignment = xtpAlignmentLeft + xtpAlignmentVCenter
         .Editable = False
      End With

      .AllowEdit = True
      .HeaderRowsAllowEdit = True
      .EditOnClick = True
      .ShowHeader = True
      .ShowHeaderRows = True
End With


What do I need to do to get editing back for certain columns?


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: Aaron
Date Posted: 22 March 2010 at 5:55pm
Hi Jason,
 
Your sample works OK. Can you upload a testproject with the problem?
 
Thanks
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: jpbro
Date Posted: 22 March 2010 at 6:30pm
Okay, it must have a brain cramp on my part - apparently I uncommented some debugging code in the RequestEdit event that was canceling the edit. Sorry for wasting your time.

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net