Breakpoints |
Post Reply |
Author | |
lionello
Groupie Joined: 23 September 2005 Location: Italy Status: Offline Points: 26 |
Post Options
Thanks(0)
Posted: 14 January 2009 at 5:45am |
In SyntaxEdit how we can have the Breakpoints RowsNumber?
Best regards
Thanks
|
|
lionello
Groupie Joined: 23 September 2005 Location: Italy Status: Offline Points: 26 |
Post Options
Thanks(0)
|
News?????? |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
There are functions in ActiveX -
AddRemoveBookmark(long nRow);
AddRemoveBreakPoint(long nRow); PrevBookmark(); NextBookmark();
There are no functions like PrevBreakpoint(); NextBreakpoint();
So you need to make own code to manage it as you know the rows you marked as Breakpoint (nRow!)
|
|
lionello
Groupie Joined: 23 September 2005 Location: Italy Status: Offline Points: 26 |
Post Options
Thanks(0)
|
I know.
But it is necessary to have an event in order to intercept the activation of a breakpoint from users!
Thanks
|
|
jads
Groupie Joined: 26 August 2008 Status: Offline Points: 32 |
Post Options
Thanks(0)
|
Is it likely that events and properties will be added to the SyntaxEdit control to expose bookmark and breakpoint information, such as a count and the rows that that have bookmark and breakpoint set. This info must already be in the SyntaxEdit control and would be useful to assist in enabling menu options for navigation. Maybe even other properties such as enabling and disabling
I know that i could manage this info, but it seems like double handling when the contol already has the required info
|
|
Product: Xtreme SuitePro (ActiveX) version 13.4.0
Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 SP6 |
|
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
|
Really I don't understand why there aren't properties to remove Bookmark and/or Breakpoint for a specific row.I.e.
object.RemoveBookmark(row)
object.RemoveBreakpoint(row)
Also, a Clear method is missing to remove all Bookmark and/or Breakpoint, this force the user to remove them manually!
Should be something like:
object.Bookmark.Clear()
object.Breakpoint.Clear()
I hope you plan to implement this features in next version.
|
|
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
|
moremo
Newbie Joined: 03 April 2010 Status: Offline Points: 1 |
Post Options
Thanks(0)
|
hi man i have a question about unicode in reportControl
will u help me? |
|
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
|
OK, after some test, here the code How-To remove ALL bookmarks:
Private Sub BookmarkDelete()
' Remove all bookmarks Dim pCurrRow As Integer Dim nextBookmark As Boolean nextBookmark = True Do While nextBookmark SyntaxEdit.NextBookmark() If SyntaxEdit.CurrRow <> pCurrRow Then SyntaxEdit.AddRemoveBookmark(SyntaxEdit.CurrRow) pCurrRow = SyntaxEdit.CurrRow nextBookmark = True Else nextBookmark = False End If Loop End Sub N.B.
But, there not way to delete (clear) all breakpoints...
I hope CJ developer add this.
|
|
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |