[go-nuts] Re: About package lxn/walk

2019-10-14 Thread 洪嘉鴻
Hello everyone: I've finished studying https://github.com/lxn/walk/tree/master/examples. However, there is still a problem that I'm encountering: Is there any examples about tree diagram with buttons for references? Ex: When we install software, there are multiple choices for users to choose, an

[go-nuts] Re: About package lxn/walk

2019-10-14 Thread 洪嘉鴻
Hello everyone: I've finished studying https://github.com/lxn/walk/tree/master/examples. However, there are some problems that I'm encountering: 1. I want to print the message after clicking the "Confirm" button, but I have no idea how to implement it. Here is the incompleted code: https://play.

[go-nuts] Re: About package lxn/walk

2019-10-13 Thread 洪嘉鴻
OK, I'll try them. However, the "\n" I used didn't work. outTE.AppendText("Hello World !\n") outTE.AppendText("Nice to meet you !") The output on the text edit shows "Hello World ! Nice to meet you !" But when I use "\r\n", it works! Yes, the word should be "button", not "bottom". Thanks for your h

[go-nuts] Re: About package lxn/walk

2019-10-13 Thread 洪嘉鴻
OK, I'll try them. However, the "\n" I used didn't work. outTE.AppendText("Hello World !\n") outTE.AppendText("Nice to meet you !") The output on the text edit shows "Hello World ! Nice to meet you !" But when I use "\t", it works! Therefore, I have no idea why it is invalid with "\n". Yes, the wor

[go-nuts] Re: About package lxn/walk

2019-10-13 Thread 洪嘉鴻
OK, I'll try them. However, the "\n" I used didn't work. outTE.AppendText("Hello World !\n") outTE.AppendText("Nice to meet you !") The output on the text edit shows "Hello World ! Nice to meet you !" But when I use "\t", it work! Therefore, I have no idea why it is invalid with "\n". Yes, the word

[go-nuts] Re: About package lxn/walk

2019-10-13 Thread 洪嘉鴻
OK, I'll try them. Yes, the word should be "button", not "bottom". I don't think the documentation on the library is clear, either. Thanks for your suggestions! Jake Montgomery於 2019年10月10日星期四 UTC+8下午11時44分09秒寫道: > > Welcome Max, > > First a tip. It is easier for people to view your code samples

[go-nuts] Re: About package lxn/walk

2019-10-13 Thread 洪嘉鴻
OK, I'll try them. Yes, the word should be "button", not "bottom". Thanks for your help! HaWe於 2019年10月10日星期四 UTC+8下午4時42分35秒寫道: > > Don't know about the lnx package. And I didn't check your code. > But I can answer beginner's questions: > > 1. The plus sign means concatenation for strings. >

[go-nuts] Re: About package lxn/walk

2019-10-10 Thread Jake Montgomery
Welcome Max, First a tip. It is easier for people to view your code samples if you post them in the playground . Even though this code will not run in the playground, due to the imports, its a nice way for people to quickly see what you are talking about. The code y

[go-nuts] Re: About package lxn/walk

2019-10-10 Thread HaWe
Don't know about the lnx package. And I didn't check your code. But I can answer beginner's questions: 1. The plus sign means concatenation for strings. var s = "text" s += "\n" 2. fmt.Println prints to standard output, but fmt.Sprintln prints to a string. 3. Similar answer: Use fmt.Ssca