H Funny

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

setup form !!

EXT
title 'Extend Start/End Of SCTN Macro'
Frame .SET 'Extend Start/End Of SCTN'
path right
rtoggle .ST 'Start'
rtoggle .EN 'End' at xmin10 ymax-1
button .SE 'S/E' CALL |callstl GSCTNTAG CE|tooltip |Mark Start End|
button .UN 'UMRK' CALL |AID CLEAR ALL|tooltip |Unmark All|
exit

path down
Frame .EX 'Extend Start/End to ID & IDPL'
text .dist 'Enter Distance ' width 8 is string
button .SPL 'S2PL' CALL |EXT START THR IDPL $@ END|tooltip |Extend Start to PL|
path right
button .EPL 'E2PL' CALL |EXT END THR IDPL $@ END AID CLEAR ALL|tooltip |Extend End to
PL|
button .S2ID 'S2ID' CALL |EXT START TO ID $@ AID CLEAR ALL|tooltip |Extend Start to ID|
button .E2ID 'E2ID' CALL |EXT END TO ID $@ AID CLEAR ALL |tooltip |Extend End to ID|
path down
exit

button .create 'Apply' call |!this.CEXT()|at xmin_SPL ymax+0.1


path right
button .Cancel 'Cancel' ok
exit

define method .CEXT()


!dist = $!this.dist

if !this.ST.val EQ True then


ext st $!dist
Endif

if !this.EN.val EQ True then


exte $!dist
Endif

endmethod

You might also like