Hello,
Does anyone know if it's possible to be able to use a pivot on a graphics region that is on a property sheet?
I have the following code which does bizarre things. Thanks.
Albert
winapp
Program testpivot
include <windows.ins>
external callback
integer :: ans
ans=winio@('%sh%ca[Sheet One]&',1) ! first sheet
ans=winio@('%pv%^gr[user_resize,rgb_colours]',200,200,callback)
ans=winio@('%sh%ca[Sheet Two]',2) ! second sheet
ans=winio@('%ww%pv%2ps',1,2) ! combine sheets
end Program
subroutine callback
include <windows.ins>
integer:: x,y,resize
resize=clearwin_info@('GRAPHICS_RESIZING')
if (resize.EQ.1) then
x=clearwin_info@('GRAPHICS_WIDTH')
y=clearwin_info@('GRAPHICS_DEPTH')
call draw_line_between@(0,0,x,y,RGB@(255,0,0))
endif
endsubroutine