I am currently trying out PWCT2 and have a few questions:
1. the PWCT2 help says, "PWCT 2.0 comes with Ring2PWCT, which can import any textual source code file." Unfortunately, I cannot find Ring2PWCT. How can I import Ring source code into PWCT2?
2. in PWCT2, the Project Files window only shows the demo examples directory. If I save my project file with my code in a different directory, how can I change the project directory? In Ring Notepad, the behavior is as I expect it to be. I do not understand the meaning of Project Files in PWCT2.
3. can I use the full scope of Ring with PWCT2, or are there limitations? I have not yet managed to recreate a working Ring code that executes a simple qRing app in PWCT2. Hence, my first question ;-)
Here is the code I wanted to rebuild in PWCT2:
load "guilib.ring"
oApp = new qApp {
oWinMain = new qWidget() {
setWindowTitle("My Main Window")
setGeometry(100,100,370,250)
oLbl_1 = new qlabel(oWinMain) {
setText("Hello World!")
} # lbl_1
oLbl_2 = new qlabel(oWinMain) {
setText("Another label!")
} # lbl_2
oVbox = new qVboxlayout() {
addwidget(oLbl_1)
addwidget(oLbl_2)
} # vbox
setlayout(oVbox)
show()
} # window
exec()
} # App
Greetings
Stefan