width parameter
 
Notifications
Clear all

We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

[Closed] width parameter

2 Posts
1 Users
0 Reactions
1,581 Views
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 2067
Topic starter   [#711]

Dear Glenn, Thank you for your work,  Currently i am trying to setup WIDTH parameter but even the IF results are trusted, and good the WIDTH=%width% is not apply the values.

[items] 
#BEGIN-ONLOAD 
set White = #ffffff 
MONITOR=onload:1, set:fs={{12*%7/96}}, hidden:1 
SET MYFONTSIZE1 = %fs%[2.0d]  
IF=value1:%fs%,value2:12,comparator:eq,true:T300,false:F600,set:res=%1 
WIDTH=300 
COMMENT=display:%res%[sub:2:3],set:width=%res%[sub:2:3]  
IF=value1:%fs%,value2:24,comparator:eq,true:T600,false:F300,set:res=%1 
WIDTH=600 
COMMENT=display:%res%[sub:2:3],set:res2=%res%[sub:2:3]  
COMMENT=%res2% 
WIDTH=%width%

 

 



   
Topic Tags
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 2067
Topic starter  

I was able to get the following to work:

begin-onload
MONITOR=set:fs={{12*%7/96}},display:{{12*%7/96}}

IF=value1:%fs%, value2:12, comparator:eq, hidden:0
WIDTH=300 

IF=value1:%fs%, value2:24, comparator:eq
WIDTH=600
end-onload

Be sure there are no trailing spaces on the WIDTH item



   
Glenn's Page