Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Editing text doesn't work no more
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Editing text doesn't work no more

 Post Reply Post Reply
Author
Message
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Topic: Editing text doesn't work no more
    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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2010 at 10:48am
Set CanEditCheckboxItem = True for the items  Will fix for next release.
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 03 March 2010 at 9:01am
Hi,
13.3.1 is building right now...should be tonight\tomorrow morning.
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2010 at 5:18pm
13.3.1 is now out to fix this.
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.154 seconds.