Setting button text
Moderators: TomKerekes, dynomotion
-
- Posts: 78
- Joined: Tue Mar 30, 2021 8:07 am
Setting button text
I've moved user button 3 to the position shown by the red arrow, and expected the 'Reset' text to appear in the box, but it remains blank. I've already done something similar when I added the Home button, and that works fine. I've looked as the two different buttons, and i can't see why it works on one and not the other.
Am I missing something, or is this a bug?
Am I missing something, or is this a bug?
- TomKerekes
- Posts: 2679
- Joined: Mon Dec 04, 2017 1:49 am
Re: Setting button text
User Buttons 0-9 (IDC_But0 - IDC_But9) are the legacy (prior to Screen Editor) User Buttons that can be configured with text and shown/hidden from the Tool Setup | User Buttons Screen. Avoid using those in the Screen Editor or configure both to display in the same manner.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 78
- Joined: Tue Mar 30, 2021 8:07 am
Re: Setting button text
Is there a way to put text in them? If not, I'll just leave them as they are, I know what they do.
Wouldn't it be a good idea to implement them so they work like the others? If not, it would be less confusing to just delete them, and save questions like this that I have to post, and you have to answer.
Wouldn't it be a good idea to implement them so they work like the others? If not, it would be less confusing to just delete them, and save questions like this that I have to post, and you have to answer.
Re: Setting button text
I think I may have found a related issue, regarding the Step Size "StepN" buttons. I wanted to remove the "10" radio button (Step5). I set it to "hide" in the screen editor, which worked fine. However when I would open the "Tool Setup" utility, make no changes, just click OK to close it, the Step5 radio button would become visible. The work around for this was to move the Step5 button outside of the screen boundary.
Larry
Larry
- TomKerekes
- Posts: 2679
- Joined: Mon Dec 04, 2017 1:49 am
Re: Setting button text
Hi Larry,
That's a bit confusing as the Step Buttons can also be shown/hidden in Tool Setup | Trajectory Planner | Step Increments. A step increment of 0 hides the control. Non-zero shows it. See here. Another workaround is to set the Screen Script and the Tool Setup to not conflict.
That's a bit confusing as the Step Buttons can also be shown/hidden in Tool Setup | Trajectory Planner | Step Increments. A step increment of 0 hides the control. Non-zero shows it. See here. Another workaround is to set the Screen Script and the Tool Setup to not conflict.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 78
- Joined: Tue Mar 30, 2021 8:07 am
Re: Setting button text
I've had several times when I've edited the screen, only to find that some things that were hidden became visible again. However, exiting, going back into the editor and exiting again seems to set it right again. I think some of those were the Step distance radio buttons, but I think there were others. If it happens again, I'll take note of what happens.
Re: Setting button text
Hi Tom,
Thanks, I missed that way to remove a speed selection. That works fine.
I did see another control visibility behavior that I don't know if I'm doing something to cause it. I'm using But9. I have it configured in Tool Setup for the action to Execute Program and in Screen Editor for placement and visibility. It works fine, however when I make any unrelated change in Tool Setup, for example on the "M0 - M30" tab, But9 becomes hidden. Restarting KmotionCNC or opening Screen Editor and press Set for any control will make it visible again.
Using 4.3.5f.
Thanks,
Larry
Thanks, I missed that way to remove a speed selection. That works fine.
I did see another control visibility behavior that I don't know if I'm doing something to cause it. I'm using But9. I have it configured in Tool Setup for the action to Execute Program and in Screen Editor for placement and visibility. It works fine, however when I make any unrelated change in Tool Setup, for example on the "M0 - M30" tab, But9 becomes hidden. Restarting KmotionCNC or opening Screen Editor and press Set for any control will make it visible again.
Using 4.3.5f.
Thanks,
Larry
- TomKerekes
- Posts: 2679
- Joined: Mon Dec 04, 2017 1:49 am
Re: Setting button text
Hi Larry,
I can't reproduce that. But whether or not there is Text assigned to the User Buttons in Tool Setup determines whether they are shown or hidden. Do you have Text assigned to But9 in Tool Setup?
I can't reproduce that. But whether or not there is Text assigned to the User Buttons in Tool Setup determines whether they are shown or hidden. Do you have Text assigned to But9 in Tool Setup?
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Setting button text
Hi Tom,
I believe I did have the same text in both. I decided to simplify things and take your advice and avoid using But0-9
Thanks,
Larry
I believe I did have the same text in both. I decided to simplify things and take your advice and avoid using But0-9
Thanks,
Larry
Thanks,
Larry
Larry