home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
FWINDOWS
/
Win95
/
Qxvzm10
/
QXVZM10.LZH
/
QVZ4.MAC
< prev
next >
Wrap
Text File
|
1996-12-22
|
1KB
|
55 lines
'VZ カーソル移動
'*QMVZ.HLP
proc ChangeTopLine
if @hwnd = 0 then exit proc
dim line
dim topline
line = @Line
topline = @TopLine
if @LastLine <= @ScreenHeight then exit proc
if @ScreenHeight <= 5 then exit proc
if topline = line-1 then
topline = line - @ScreenHeight/2
elseif topline = line - @ScreenHeight/2 then
topline = line - @ScreenHeight + 2
else
topline = line - 1
end if
if topline<0 then topline = 0
@TopLine = topline
end proc
proc ChangeTab
if @hwnd = 0 then exit proc
if @Tab = 8 then
@Tab = 4
else
@Tab = 8
end if
end proc
'最大化 → 縦に並べる → 横に並べる を繰り返す
proc Window_Max_Tile
if @hwnd = 0 then exit proc
dim a$
if @@EditCount2 < 2 then
@WindowMaximize
exit proc
end if
a$ = @@Global$("bunkatsumode")
if a$ = "1" or a$ = "" then
a$ = "2"
@WindowTileTate2
elseif a$ = "2" then
a$ = "3"
@WindowTileYoko2
else
a$ = "1"
@WindowMaximize
end if
@@Global$("bunkatsumode") = a$
end proc