width parameter
 
Notifications
Clear all

We had a major storm through here recently and we suffered damage to the house roof and ceilings. I just received the quote to repair. I’m hoping that a small fraction of the 80,000 odd people that download SDIO and/or Desktop Info every month won’t mind chipping in a few dollars to help out. Click on the big blue button at the bottom of the page to help us keep a roof over our heads, literally!

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,286 Views
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1834
Topic starter  

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: 7 years ago
Posts: 1834
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