Author |
Message |
Topic: Printing text in window |
Wilfried Linder
Replies: 9
Views: 8653
|
Forum: ClearWin+ Posted: Fri Apr 12, 2019 12:42 pm Subject: |
For output of text you may also use winio@ together with functions and options for editing.
If you like, you can download a complete text editor using ClearWin from here: https://drive.google.com/f ... |
Topic: Printing text in window |
Wilfried Linder
Replies: 9
Views: 8653
|
Forum: ClearWin+ Posted: Fri Apr 12, 2019 12:17 pm Subject: |
There are two types of windows: “ClearWin” windows and “Format” windows. For more details about the first ones see here: https://www.silverfrost.com/ftn95-help/clearwinp/clearwin/introduction.aspx
... |
Topic: Printing text in window |
Wilfried Linder
Replies: 9
Views: 8653
|
Forum: ClearWin+ Posted: Wed Apr 10, 2019 3:26 pm Subject: |
... or:
integer*4 textwin
textwin = create_window@('Info',100,100,700,500)
call open_to_window@(7,textwin)
write(7,'(A)')' for example this message '
...
... ... |
Topic: Plain hyperlink text |
Wilfried Linder
Replies: 8
Views: 10071
|
Forum: Support Posted: Thu Oct 04, 2018 5:26 pm Subject: |
Have you already tried the subroutine use_url@ or the function internet_hyperlink? A small example:
winapp
program test
include <windows.ins>
charac ... |
Topic: Assistance in updating a window |
Wilfried Linder
Replies: 16
Views: 14177
|
Forum: ClearWin+ Posted: Sat Sep 22, 2018 6:52 am Subject: |
Next addition:
In my examples, I use one-dimensional arrays (xplot_1,yplot_11,yplot_12,...). Now I tried to use two-dimensional arrays like you, and then got the error message "Invalid data va ... |
Topic: Assistance in updating a window |
Wilfried Linder
Replies: 16
Views: 14177
|
Forum: ClearWin+ Posted: Fri Sep 21, 2018 5:21 pm Subject: |
Some additional remarks:
Both windows in the example before are created once. The calculation subroutine abc only updates the graphics but creates no new windows.
I think that simpleplot_redraw@ ... |
Topic: Assistance in updating a window |
Wilfried Linder
Replies: 16
Views: 14177
|
Forum: ClearWin+ Posted: Fri Sep 21, 2018 5:08 pm Subject: |
OK.
Two windows with each one plot is no problem. For variable dimensions of the arrays you may use a module. Below is my next example, first the module, then the main program, the rest given as su ... |
Topic: Assistance in updating a window |
Wilfried Linder
Replies: 16
Views: 14177
|
Forum: ClearWin+ Posted: Thu Sep 20, 2018 4:04 pm Subject: |
Just to illustrate what I mean - a very small test programme, my first attempt with %pl
program plot_test
winapp
external abc
integer*4 i
real*8 xplot_1(100),yplot_1 ... |
Topic: Assistance in updating a window |
Wilfried Linder
Replies: 16
Views: 14177
|
Forum: ClearWin+ Posted: Thu Sep 20, 2018 2:41 pm Subject: |
I'm not familiar with %pl but from a theoretical point of view I would suggest the following:
[1] Define a set of variables for both plots, like XPLOT_1 and YPLOT_1 for the first graphics, XPLOT_2 ... |
Topic: Assistance in updating a window |
Wilfried Linder
Replies: 16
Views: 14177
|
Forum: ClearWin+ Posted: Fri Sep 14, 2018 4:49 pm Subject: |
Hi, I found the following information in the file cwplus.enh:
The arrays of data supplied to %PL should continue to be available for as long as the window is displayed. In particular, the data will ... |
Topic: CALLBACK_REASON response ? in %gr callback |
Wilfried Linder
Replies: 31
Views: 26221
|
Forum: ClearWin+ Posted: Thu Jul 12, 2018 4:12 pm Subject: |
Interesting... I didn't knew this, but I found information in the file cwplus.enh, topic No. 357, which says:
"A new format code %id has been added in order to specify the button number (ID) o ... |
Topic: fatal error : can't open module file 'mainmodule.mod' |
Wilfried Linder
Replies: 7
Views: 9287
|
Forum: General Posted: Thu Jun 01, 2017 8:51 pm Subject: |
I just found another way: After writing the post and before sending it, activate the option "Disable Smilies in this post". Same text as before:
real(8), allocatable, save :: u(:), flux(: ... |
Topic: fatal error : can't open module file 'mainmodule.mod' |
Wilfried Linder
Replies: 7
Views: 9287
|
Forum: General Posted: Thu Jun 01, 2017 8:49 pm Subject: |
The smilies are automatically generated by phpbb. I think, the easiest or may be only way to avoid this is to mark the text and use the "Code" button. Example:
real(8), allocatabl ... |
Topic: Font and font size |
Wilfried Linder
Replies: 14
Views: 12728
|
Forum: ClearWin+ Posted: Sat Apr 01, 2017 5:53 pm Subject: |
Thanks again, Paul and Eddie!
I modified one of my programs according to Eddie's suggestion, with good results. Next time I will try Paul's new routine.
Have a nice weekend!
Wilfried |
Topic: Font and font size |
Wilfried Linder
Replies: 14
Views: 12728
|
Forum: ClearWin+ Posted: Sat Apr 01, 2017 11:49 am Subject: |
Sorry Eddie, my previous post was an answer to Paul's remarks. Your way with a subroutine for all general settings is another interesting alternative.
Wilfried |
|