Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI field editor values should not be changeable by user. #3145

Open
nrnhines opened this issue Oct 26, 2024 · 0 comments
Open

GUI field editor values should not be changeable by user. #3145

nrnhines opened this issue Oct 26, 2024 · 0 comments

Comments

@nrnhines
Copy link
Member

Mark Goldman wrote:

...I’m emailing because i’m running my class again that uses the NEURON Gui extensively and saw 2 students make an error that seems avoidable with an easy fix to the interface: In Point Process Manager, inevitably, some students end up typing in the amplitude of current injection to the i(nA) output box rather than the amp (nA) input box. The question I have is: “Is there a reason for people to be able to enter numbers into the “i (nA)” box at all, as I thought this box was for outputs and not for inputs. If not, then it seems like a very easy fix to make this box not allow entries (i.e. only be a readout, and possibly make it a slightly different, e.g. gray, background color [or otherwise differentiate it] to indicate visually that it is an output rather than input box).
...

And I responded:
Hi Mark,
Thanks for the suggestion. You make a good point.

image

Although there is a bit of visual indication that i might have a different nature than del, dur, amp, (ASSIGNED range variable as opposed to PARAMETER) it is certainly allowed to enter a number in the field and have it change out from under you. I will look into the possibility of having it just show the value with no user entry possibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant