Skip to main content
1-Visitor
Jan 25, 2022 8:44 AM UTC
Solved

How to show values and modify them like "ProUIInputPanel" in the ProUItree cell by tookit API?

I got a problem to using ProUItree in dialogue. Does any one have the solution ?

1. How to show values in the ProUItree columns cell by Protookit API when initialization?

2. When I click the column cell in the ProUItree , how to edit it like "ProUIInputPanel" by Protookit API?

 

Untitled.jpg

17-Peridot
Jan 27, 2022 6:06 AM UTC

Maybe, a funtion ProUITreeInputpanelAdd() will help you.

4 replies

17-Peridot
Jan 27, 2022 6:06 AM UTC

Maybe, a funtion ProUITreeInputpanelAdd() will help you.

Translate
GerryXu1-VisitorAuthor
1-Visitor
Jan 27, 2022 1:23 PM UTC

Thank you very much. It works now. 😀

err = ProUITreeInputpanelAdd(dialog, "TreeBOM", "ipText"); //********Create the "Inputpanel" in the Tree *****************
err = ProUIInputpanelValueSet(dialog, "ipText", L"Hello"); //********Set the string in the "Inputpanel"  *****************
err = ProUITreeNodeComponentSet(dialog, "TreeBOM", "1","ipText", "column1"); //********Show the "Inputpanel" in the cell of defined column*************

 

Translate
7-Bedrock
Aug 30, 2022 8:21 AM UTC
Hello.. GerryXu
I am a beginner Toolkit developer.
I try to make the same thing you make.
Can you share a program sample or source code with me? 
Translate