Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
goto label
Since the 2nd version of 2.8 (build 7/22/16), the goto source is not working for gosub labels.
I am sure it was working in the 1st version release.
I am sure it was working in the 1st version release.
Comments
Please document how you are using the feature. Are you using the combobox in the SRP Editor toolbar? Are you using F12? Does it fail to work in all cases or does it seem to be unique to a specific label? FWIW, it is working fine for me on all accounts.
on the line
gosub MyLabel
I highlight MyLabel then F12 or right+click and select goto source and nothing happens
Combobox list selection is fine.
Appears to be all cases
Can you email me your stored procedure? Maybe your code is formatted in a way that is creating a parsing problem for the SRP Editor.
Tried changing the style.
I am using 'plastic code wrap'
here are my options setting for formatting
Why isn't there a link on www.srpsc.com to your products site and the wiki site?
Barry, try downloading again as it may fix it.
No biggy, must be a PC/Setup/Options thingy. The other stuff works.
I see that there is a message displayed in the status bar
On BranchFound GoSub OLE,Changed,Click,Create,Delete,Gotfocus,Lostfocus,DropDown,Read,Write,Vscroll
This does not:
case cp="APPLY_BUTTON"
gosub ClickApplyButton
https://wiki.srpcs.com/display/Editor/SRP+Editor
Have you confirmed that "ClickApplyButton" appears in the dropdown at the top? This is a good way of verifying whether or not the SRP Editor sees the label at all.
There was indeed an error on that page. The "Product Information" link below "SPACE SHORTCUTS" should have taken you there. Now it does.
Yes it does
Can you try using mine, attached.
Wont allow me to attach, I will email to Don.
Don't email to me. Email it to support@srpcs.com.
Barry was kind enough to send us his system which we installed and tested. Everything continued to work as expected on our end. So, my last correspondence to Barry was that we were not sure what the problem was and were still thinking about how to move this forward.
This morning I stumbled into Barry's problem while working on a client project. It was that experience that finally connected the dots for me. This led to the moral of the day: read what the reporter is telling me a little more carefully next time.
You see, on more than one occasion Barry used the term "highlight". I simply overlooked (i.e., ignored) that word since that was not the way I identify the label I want to go to. However, that ended up being the secret ingredient. I have confirmed that if the label is selected (aka "highlighted"), then the goto label feature doesn't work. Barry, please confirm by clicking into the label without selecting any text and then test the goto label feature.
Suffice to say that we have fixed this and it will be in the next release of the SRP Editor.
Also my fault for not reading the instructions carefully. Dont know where I got the idea that dbl+clk will goto.
Actually dbl+clk then right+clk goto source works also for labels.
dbl+clk (highlited) F12 actually works on this line
On Pos GoSub OMNIEVENT,CREATE, OLE, SelChanged, OnClick, CHANGED.COB_BUTTON_STYLES, OnHeaderHyperClick, OnOptionClick, PosChanged, BeforeUpdate, AfterUpdate, BeforeNewRecords,CLOSE,CHANGED