Login Page - Create Account

Support Board


Date/Time: Sun, 25 May 2025 19:46:08 +0000



Customize Toolbar - Custom Text Tool - Behaviour query.

View Count: 499

[2023-06-06 12:15:47]
User92573 - Posts: 560
Dear Support

I use the Custom Toolbar which was initially built with ALS many years back. It's yet another facet of Sierra that really sets it apart from other platforms.

Recently I've noticed an undesirable action that I'm quite sure I've not seen previously.


Example:

Custom Toolbar >> Button configured as >> Custom Text Tool
Drawing Text >> ABC
Next Text Tool >> None


This, when selected places the text "ABC" at the expected location and as there is no 'next' tool, will keep adding that text until deselected.

However, when I select any of the now placed text, without deselecting that Button and then, from the right-click menu select >> Copy and Paste; although it completes the action, it also at the same time selects a previously config. (TC) tool def. config. which in my case seems to be TC22.

I can use >> right-click >> 'Copy and Paste' as many times as needed, however, once this method is used, TC22 becomes the selected tool, as opposed to the initial selection i.e. the previously selected >> Button >> Custom Text Tool >> ABC.

The undesirable outcome is that any left-click now pastes the TC22 Text Tool config. as opposed to the selected ABC.

I hope that makes sense.

Please can you test this to confirm whether it's a behaviour that I've somehow, inadvertently introduced, or possibly it's related to the tool programming.

Many thanks
Date Time Of Last Edit: 2023-06-07 05:12:24
[2023-06-06 16:28:54]
John - SC Support - Posts: 40015
We do not know what ALS is or the reference to a "Next Text Tool". So we are not sure what exactly is occurring, and we wonder if this has something to do with an external program.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-06-06 17:55:19]
User92573 - Posts: 560
Hello John

Al.S was a programmer with SC a long way back.

I hope the following explains my issue a little better.


Customize Toolbar >> Add Custom Text Drawing (CTD?) >> Set Custom Text >> "Next Text Tool" is the GoTo location.


So, if I set the above as I speak to:


Drawing Text "ABC"
Text Color "0,0,255"
Next Text Tool "None" so it remains on the currently selected Button/Text Tool.


In the Properties option of the Button I'll also set:


Caption "ABC"


Once selected, every time I left-click the chart it places "ABC" as expected.

However, if I modify one of the placed text, or even simply >> Copy and Move Drawing; then on the next left-click it has changed its setting to a different type of tool along with the text saved in the location Tool Configs. (TC22).


I have tried it multiple times and again using the steps set-out above, just to be sure but on each occasion the selected Custom Text Drawing tool (CTD) becomes a Custom Drawing Tool (CDT), with it's settings derived from Tool Config. (TC22).



Please do not deselect the the current tool by selecting the Pointer or Cross-hair. Just select one of the text that has been placed by the tool and use 'Copy and Move.' This is the order of events I would use when having placed the text and then copying it to another location for minor changes/edits.

Even with a clean chart a left-click now places a completely different tool as described above.


I hope this is more helpful.

Also the PC is dedicated to SC. Nothing else of any consequence is running.


Many thanks.
Date Time Of Last Edit: 2023-06-07 05:14:21
[2023-06-07 08:38:07]
User92573 - Posts: 560
Dear Support

I think I've identified the issue.


Custom Toolbar 'Buttons'

When using a 'Custom Drawing Tool (CDT)' the associated Tool Config. for that Button becomes the current setting until such time as it is updated.

However, when using the 'Custom Text Drawing tool (CTD)' Buttons, the text is placed as required, except that when the last text drawing is selected using 'Copy and Move Drawing' which does function as expected, the selected Button (CTD) Text tool changes to a (CDT) Drawing tool instead of the remaining a (CTD) Text Drawing.

As a result the next left-click is associated with the very last 'Custom Drawing Tool, Tool Config.' that was used.


Essentially the 'Custom Text Drawing (CTD)' Buttons are changing status to a 'Custom Drawing Tool (CDT)' without user interaction.

To see this occur a Tool that uses a TC Config. must have been selected at some point after the program was loaded. The TC Config. must be held in memory for it to occur.

I hope that helps.

Many thanks

PS It would be very helpful if a some stage the 'Next Text Tool' were able to have the GoTo location as the cursor or crosshair. Obviously a long way down the line as far as programing requests but maybe at some point.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account