Restored from previous forum. Originally posted by fweil.
I posted a program sample at Paul's site (http://www.reelmediaproductions.com/pb/mainmenu.html) that should be visible tomorrow, also downloadable at http://www.nasca.fr/software/RFC_Survey.zip
This shows some interesting possibilities for beginner's and maybe will also interest some old timers at PureBasic forum.
Feel free to use and customize it, and to share comments, questions and updates.
I was cursing for days because I am working on a sendmail tool in PureBasic, and I finally decided to make RFC pages easier to browse from my PC.
Have a nice day
Francois Weil
14, rue Douer
F64100 Bayonne
Posted a program sample to browse RFCs
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by freak.
Nice work!
I found some 'bug' in the program.
Maybe you've noticed, that, when you click the 'X' to close the program,
the second window remains there for some seconds. This is becourse the
CloseWindow(0) command at the end produces an Event which is
captured by the ColumnClickCallback procedure. This procedure
tries to sens Messages to the Window you've just closed, which takes time.
I suggest you remove the CloseWindow(0) command, so PureBasic
automatically closes both Windows when the prog ends, and no Callback can be executed.
Timo
--
A debugged program is one for which you have not yet found the conditions that make it fail.
Edited by - freak on 23 July 2002 19:26:24
Nice work!
I found some 'bug' in the program.
Maybe you've noticed, that, when you click the 'X' to close the program,
the second window remains there for some seconds. This is becourse the
CloseWindow(0) command at the end produces an Event which is
captured by the ColumnClickCallback procedure. This procedure
tries to sens Messages to the Window you've just closed, which takes time.
I suggest you remove the CloseWindow(0) command, so PureBasic
automatically closes both Windows when the prog ends, and no Callback can be executed.
Timo
--
A debugged program is one for which you have not yet found the conditions that make it fail.
Edited by - freak on 23 July 2002 19:26:24
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by El_Choni.
Hi,
I modified it a bit to handle resizing:
http://www.inicia.es/de/elchoni/RFC_Survey.pb
You don't mind, do you
Bye,
El_Choni
Hi,
I modified it a bit to handle resizing:
http://www.inicia.es/de/elchoni/RFC_Survey.pb
You don't mind, do you

Bye,
El_Choni
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by fweil.
Waouw ...
Thanks for comments and updates.
I changed my design code with updates from El_Choni adding just one more thing at this time : the #PB_EventCloseWindow managed in the WebGadgetCallback procedure and proceeding a HideWindow(1,1) instead of closing the window. The HideWindow(1,0) call is made back when double-clicking a new RFC entry.
Thanks again and feel free all to continue in exchanging updates.
KRgrds
Francois Weil
14, rue Douer
F64100 Bayonne
Waouw ...
Thanks for comments and updates.
I changed my design code with updates from El_Choni adding just one more thing at this time : the #PB_EventCloseWindow managed in the WebGadgetCallback procedure and proceeding a HideWindow(1,1) instead of closing the window. The HideWindow(1,0) call is made back when double-clicking a new RFC entry.
Thanks again and feel free all to continue in exchanging updates.
KRgrds
Francois Weil
14, rue Douer
F64100 Bayonne