Paul, those undocumented options are kind of cool. Is there an option to use %pv with %ps to resize it like graphics window? I know it is possible to do that with other tricks but %pv is just simpler
Eddie, I had two problems with %ps before which took a lot of time to find and resolve, and one was an access violation and the reason was in the set_propertysheet - its major parameter was not initialized. Usually Clearwin is ok with that but not in this case
I do not know what kind of problems you specifically have with see_propertysheet_page but i will mention it. In the example below it's good to make n_CurrSheetSettings=1 somewhere in the start of the program and then all looks like that to work (i took example from the older code written in Fortran 77)
Program AAA
parameter (n_Settings =21)
common /Settings01_/n_CurrSheetSettings, ictrSettings (n_Settings )
n_CurrSheetSettings = 1
!...
!...
end
!.............................
integer*4 function aaaaaa()
parameter (n_Settings =21)
common /Settings01_/n_CurrSheetSettings, ictrSettings (n_Settings )
integer cbupdateSettings
external cbupdateSettings
!...
!...
i = winio@('%^`21ps&',ish1, ish2, ish3, ish4, ish5, ish6,&
& ish7, ish8, ish9, ish10, ish11, ish12, ish13, ish14, ish15, ish16, ish17,ish18,ish19,ish20,ish21, &
& n_CurrSheetSettings, cbupdateSettings)
!...
!...
end function aaaaaa
!.......................................
integer*4 function cbupdateSettings()
use clrwin
parameter (n_Settings =21)
common /Settings01_/n_CurrSheetSettings, ictrSettings (n_Settings )
call see_propertysheet_page@ (n_CurrSheetSettings)
cbupdateSettings=2
end function cbupdateSettings