Silverfrost Forums

Welcome to our forums

Clearwin based message for warnings/infos

24 Sep 2023 10:14 #30613

Thanks, Paul.

Will add for everyone here that of course using bitmap graphics files with %bm instead of icons %ic works same way. This could be more useful because making icons could be cumbersome and they are standard size 16x16 or 32x32 while %bm could be any size.

Also by some reason %ic is not transparent if you use background in the main window. https://i.postimg.cc/FH58grPJ/notransparency.png ( see large white space around red dot). I tried with SCION editor from FTN95 compiler directory to make empty space of bullet image transparent but did not succeed with first couple attempts, not really trying hard. So i cut the bullet out of larger image file and used %bm instead of %ic which looks much better. Of course with squared images all will look flawless. Same flawless result can be obtained with editing red dot bitmap, adding pink background there.

11 Nov 2023 1:45 #30728

In a future release of ClearWin+, %si will take a tilde accent together with a 'show/hide' integer variable as illustrated here...

module mm
use clrwin
integer k
contains
integer function cb()
 k = 1 - k
 cb = 1
end function
end module

winapp
program main
use mm
integer iw,winio@
 k = 1
 iw = winio@('%cn%~si!&', k)
 iw = winio@('%ff%nl%cn%10^bb[Show-Hide]', cb)
end program main
resources
1 24 default.manifest
Please login to reply.