forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tilda %wp problems

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
DanRRight



Joined: 10 Mar 2008
Posts: 2813
Location: South Pole, Antarctica

PostPosted: Thu Apr 27, 2017 6:10 am    Post subject: Tilda %wp problems Reply with quote

works with single window but does not with %ps where each tab uses its own %~wp
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Thu Apr 27, 2017 7:32 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
DanRRight



Joined: 10 Mar 2008
Posts: 2813
Location: South Pole, Antarctica

PostPosted: Thu Apr 27, 2017 8:35 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Tue May 02, 2017 11:52 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
DanRRight



Joined: 10 Mar 2008
Posts: 2813
Location: South Pole, Antarctica

PostPosted: Fri May 05, 2017 2:00 am    Post subject: Reply with quote

Thanks for attempts, Paul.
Back to top
View user's profile Send private message
John-Silver



Joined: 30 Jul 2013
Posts: 1520
Location: Aerospace Valley

PostPosted: Sun May 07, 2017 4:26 am    Post subject: Reply with quote

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
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2813
Location: South Pole, Antarctica

PostPosted: Sun May 07, 2017 5:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group