View previous topic :: View next topic |
Author |
Message |
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Thu Apr 27, 2017 6:10 am Post subject: Tilda %wp problems |
|
|
works with single window but does not with %ps where each tab uses its own %~wp |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Thu Apr 27, 2017 7:32 am Post subject: |
|
|
OK. I will make a note of this. At the moment I don't know if it can easily be fixed. A simple illustrative program always makes life easier and a quick fix more likely. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Thu Apr 27, 2017 8:35 am Post subject: |
|
|
Paul, Here is demo
Take any background file and call it moon.bmp. Click on different tabs few times -- text gets messed up
Code: | module aps_top
integer ::iptr
contains
integer function cbupdate()
use mswin
call see_propertysheet_page@(iptr)
cbupdate=2
end function cbupdate
end aps_top
winapp
program ps
use mswin
use aps_top
ips1=1;ips2=2;ips3=2; iptr=2
i=winio@('%ca[ Sheet 1]&')
i=winio@('%~wp[moon]&')
i=winio@('%it%bfTEXT %ffTEXT %ffTEXT%`bf%`it%ff&')
i=winio@('%sh',ips1)
i=winio@('%ca[ Sheet 2]&')
i=winio@('%~wp[moon]&')
i=winio@('%it%bf TEXT %ff TEXT %ff TEXT%`bf%`it%ff&')
i=winio@('%sh',ips2)
i=winio@('%ca[ Sheet 3]&')
i=winio@('%~wp[moon]&')
i=winio@('%it%bf TEXT %ff TEXT %ff TEXT%`bf%`it%ff&')
i=winio@('%sh%es',ips3)
i=winio@('%`3ps',ips1,ips2,ips3,iptr)
end program ps
RESOURCES
moon BITMAP moon.bmp |
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Tue May 02, 2017 11:52 am Post subject: |
|
|
Dan
I have have tried to fix this but without success.
In the next release the ~ in %~wp will be ignored within property sheets. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Fri May 05, 2017 2:00 am Post subject: |
|
|
Thanks for attempts, Paul. |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Sun May 07, 2017 4:26 am Post subject: |
|
|
what is the '~' meant to achieve in this context ?
I don't see mention of it in the %wp desciption (online manual) |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Sun May 07, 2017 5:47 am Post subject: |
|
|
It is needed only if you use some graphics under the text to depart from the standard Windows boring gray panel style.
Tilda with %wp allows to write the text over the graphical background like we see this everywhere in the books, journals and internet without wiping out the area under the whole text letter matrix. |
|
Back to top |
|
|
|