Codartizan Posted June 24, 2016 Posted June 24, 2016 (edited) Hi Guy, I have two problems, hope someone can help me. Many thanks. This is the GUI that I created for our auto-test. I want to give each tree view item a Parameters page or screen, just like the left side shows. Are there any functions that can implement this feature? The second problem is there way that displays a text in input on tab 2(Command tab) which entered in Tab 1(General Tab) input。 I tried to code like this, but it doesn't work $LabTestSuit = GUICtrlCreateLabel("Test Suit", 32, 68, 67, 24) $InputTestSuitName = GUICtrlCreateInput("Give your test suit a name", 144, 68, 209, 25) $inputText = GUICtrlRead($InputTestSuitName) $InputTSName = GUICtrlCreateInput($inputText, 160, 68, 249, 24) Thank you very much indeed. Edited June 26, 2016 by Codartizan
AutoBert Posted June 24, 2016 Posted June 24, 2016 (edited) With a Array and _GUICtrlListView_SetItemParam the first problem is solveable. The second sounds much easier: use GuiCtrlRead and GuiCtrSetData. Maybe you get better help with a runable (reproducer) script. Then help willing peoples can implement needed functions. Edited June 25, 2016 by AutoBert
Codartizan Posted June 26, 2016 Author Posted June 26, 2016 (edited) On 6/24/2016 at 10:27 PM, AutoBert said: The second sounds much easier: use GuiCtrlRead and GuiCtrSetData. Hi, there. Thanks for reply me. I've tried these two functions(GUICtrlRead&GUICtrlSetData), but nothing happened: $InputTestSuitName = GUICtrlCreateInput("Give your test suit a name", 144, 68, 209, 25) GUICtrlSetFont(-1, 10, 400, 0, "MS Sabs Serif") $inputText = GUICtrlRead($InputTestSuitName) $InputTSName = GUICtrlCreateInput("Give your test suit a name", 160, 68, 249, 24) GUICtrlSetData($InputTSName, $inputText) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") Thank you. Edited June 26, 2016 by Codartizan
AutoBert Posted June 27, 2016 Posted June 27, 2016 11 hours ago, Codartizan said: I've tried these two functions(GUICtrlRead&GUICtrlSetData), but nothing happened: is this snipet runable? On 24.6.2016 at 0:27 PM, AutoBert said: Maybe you get better help with a runable (reproducer) script.
Codartizan Posted June 27, 2016 Author Posted June 27, 2016 12 hours ago, AutoBert said: is this snipet runable? Sorry Bert, I didn't understand runnable script at the first time. Sorry about this. But good news, I implemented this feature in another way. So problem solved. Still many thanks for you replying me. Cheers
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now