-
Notifications
You must be signed in to change notification settings - Fork 147
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
Custom editor help #14
Comments
If I understood you correctly, do you mean to change that code you've posted for usage of slider or combo box? for example to read value of slider in the node body? |
Ah I see. Well, to do this, you must first create a custom user control in winforms that is empty (let's name it MyCustomControl for now). Now you must insert into MyCustomControl one trackbar and one combobox in the places that fits your needs, and add custom code to retrieving or setting their values in MyCustomControl. The final step, when MyCustomControl is finished and working, is to use it as a custom editor for node. This is exactly what I'm doing on screenshot. Hope this helps. |
Im curious I work with Devexpress for winforms I will see if those components work |
Problem resolved made user form transparent |
Fantastic project thankyou for sharing your code)
please help me .
PVE4 FE NODE EDIOR (screen shot)
Example parameter module shows
a slider and a combo box how can this be acheived
or otjer multiple components
is it possible for an example
how to change code below ?
[Node("IsGreater",customEditor:typeof(NumericUpDown))]
public void IsGreater(int input, out bool output)
{
var userThreshold = (int)(CurrentProcessingNode.CustomEditor as NumericUpDown).Value;
output = input > userThreshold;
}
The text was updated successfully, but these errors were encountered: