Annotation of freem_fileman/DINIT293.m, revision 1.1
1.1 ! snw 1: DINIT293 ;SFISC/MKO-SCREENMAN FILES ;11/28/94 11:42 AM
! 2: ;;21.0;VA FileMan;;Dec 28, 1994
! 3: ;Per VHA Directive 10-93-142, this routine should not be modified.
! 4: F I=1:2 S X=$T(Q+I) G:X="" ^DINIT294 S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) S @X=Y
! 5: Q Q
! 6: ;;^DD(.4031,1,21,6,0)
! 7: ;;=blocks. Display-type blocks, with a coordinate of '1,1' relative to the
! 8: ;;^DD(.4031,1,21,7,0)
! 9: ;;=page, provide the same functionality as header blocks.
! 10: ;;^DD(.4031,1,"DT")
! 11: ;;=2930702
! 12: ;;^DD(.4031,2,0)
! 13: ;;=PAGE COORDINATE^F^^0;3^K:$L(X)>7!($L(X)<1)!'(X?.N1",".N) X
! 14: ;;^DD(.4031,2,3)
! 15: ;;=Enter the coordinate of the upper left corner of the page. Answer must be two positive integers separated by a comma (,), as follows: 'Upper left row,Upper left column'.
! 16: ;;^DD(.4031,2,21,0)
! 17: ;;=^^13^13^2940908^
! 18: ;;^DD(.4031,2,21,1,0)
! 19: ;;=The Page Coordinate property defines the location of the top left corner
! 20: ;;^DD(.4031,2,21,2,0)
! 21: ;;=of the page on the screen. The format of a coordinate is: Row,Column.
! 22: ;;^DD(.4031,2,21,3,0)
! 23: ;;=Regular pages normally have a Page Coordinate of "1,1". They do not have
! 24: ;;^DD(.4031,2,21,4,0)
! 25: ;;=a Lower Right Coordinate.
! 26: ;;^DD(.4031,2,21,5,0)
! 27: ;;=
! 28: ;;^DD(.4031,2,21,6,0)
! 29: ;;=The Page Coordinate of pop-up pages defines the position of the top left
! 30: ;;^DD(.4031,2,21,7,0)
! 31: ;;=corner of the border of the pop-up page. Pop-up pages must have a Lower
! 32: ;;^DD(.4031,2,21,8,0)
! 33: ;;=Right Coordinate, which defines the position of the bottom right corner of
! 34: ;;^DD(.4031,2,21,9,0)
! 35: ;;=the border of the pop-up page.
! 36: ;;^DD(.4031,2,21,10,0)
! 37: ;;=
! 38: ;;^DD(.4031,2,21,11,0)
! 39: ;;=All blocks on the page are positioned relative to the page on which they
! 40: ;;^DD(.4031,2,21,12,0)
! 41: ;;=are defined. If a page is moved -- that is, if the Page Coordinate is
! 42: ;;^DD(.4031,2,21,13,0)
! 43: ;;=changed -- all blocks and all fields on that page move with it.
! 44: ;;^DD(.4031,2,"DT")
! 45: ;;=2940908
! 46: ;;^DD(.4031,3,0)
! 47: ;;=NEXT PAGE^NJ5,1^^0;4^K:+X'=X!(X>999.9)!(X<1)!(X?.E1"."2N.N) X
! 48: ;;^DD(.4031,3,3)
! 49: ;;=Answer must be a Number between 1 and 999.9, 1 Decimal Digit.
! 50: ;;^DD(.4031,3,21,0)
! 51: ;;=^^9^9^2940908^
! 52: ;;^DD(.4031,3,21,1,0)
! 53: ;;=Enter the page to go to when the user presses <PF1><Down> or selects the
! 54: ;;^DD(.4031,3,21,2,0)
! 55: ;;=NEXT PAGE command from the Command Line.
! 56: ;;^DD(.4031,3,21,3,0)
! 57: ;;=
! 58: ;;^DD(.4031,3,21,4,0)
! 59: ;;=When the user attempts a Save, ScreenMan follows the Next Page links
! 60: ;;^DD(.4031,3,21,5,0)
! 61: ;;=starting with the first page displayed to the user. ScreenMan loads all
! 62: ;;^DD(.4031,3,21,6,0)
! 63: ;;=those pages, including any defaults, and checks that all required fields
! 64: ;;^DD(.4031,3,21,7,0)
! 65: ;;=have values. If any of the required fields have null values, no Save
! 66: ;;^DD(.4031,3,21,8,0)
! 67: ;;=occurs. If all required field have values, Screenman Saves the data,
! 68: ;;^DD(.4031,3,21,9,0)
! 69: ;;=including all defaults.
! 70: ;;^DD(.4031,4,0)
! 71: ;;=PREVIOUS PAGE^NJ5,1^^0;5^K:+X'=X!(X>999.9)!(X<1)!(X?.E1"."2N.N) X
! 72: ;;^DD(.4031,4,3)
! 73: ;;=Answer must be a Number between 1 and 999.9, 1 Decimal Digit.
! 74: ;;^DD(.4031,4,21,0)
! 75: ;;=^^1^1^2940907^
! 76: ;;^DD(.4031,4,21,1,0)
! 77: ;;=Enter the page to go to when the user presses <PF1><Up>.
! 78: ;;^DD(.4031,5,0)
! 79: ;;=IS THIS A POP UP PAGE?^S^0:NO;1:YES;^0;6^Q
! 80: ;;^DD(.4031,5,1,0)
! 81: ;;=^.1
! 82: ;;^DD(.4031,5,1,1,0)
! 83: ;;=.4031^AC^MUMPS
! 84: ;;^DD(.4031,5,1,1,1)
! 85: ;;=S:X $P(^DIST(.403,DA(1),40,DA,0),U,2)=""
! 86: ;;^DD(.4031,5,1,1,2)
! 87: ;;=Q
! 88: ;;^DD(.4031,5,1,1,3)
! 89: ;;=Programmer only
! 90: ;;^DD(.4031,5,1,1,"%D",0)
! 91: ;;=^^1^1^2940627^
! 92: ;;^DD(.4031,5,1,1,"%D",1,0)
! 93: ;;=If this is a pop up page, there can be no header block.
! 94: ;;^DD(.4031,5,1,1,"DT")
! 95: ;;=2940627
! 96: ;;^DD(.4031,5,3)
! 97: ;;=
! 98: ;;^DD(.4031,5,21,0)
! 99: ;;=^^8^8^2940908^
! 100: ;;^DD(.4031,5,21,1,0)
! 101: ;;=If the page is a pop-up page rather than a regular page, set this property
! 102: ;;^DD(.4031,5,21,2,0)
! 103: ;;=to 'YES'.
! 104: ;;^DD(.4031,5,21,3,0)
! 105: ;;=
! 106: ;;^DD(.4031,5,21,4,0)
! 107: ;;=ScreenMan displays pop-up pages with a border, on top of what is
! 108: ;;^DD(.4031,5,21,5,0)
! 109: ;;=already on the screen. The top left coordinate of the pop-up page
! 110: ;;^DD(.4031,5,21,6,0)
! 111: ;;=defines the location of the top left corner of the border. Pop-up
! 112: ;;^DD(.4031,5,21,7,0)
! 113: ;;=pages must also have a lower right coordinate, which defines the location
! 114: ;;^DD(.4031,5,21,8,0)
! 115: ;;=of the bottom left corner of the border.
! 116: ;;^DD(.4031,5,"DT")
! 117: ;;=2940627
! 118: ;;^DD(.4031,6,0)
! 119: ;;=LOWER RIGHT COORDINATE^F^^0;7^K:$L(X)>7!($L(X)<1)!'(X?.N1",".N) X
! 120: ;;^DD(.4031,6,3)
! 121: ;;=Enter the coordinate of the bottom right corner of the pop up page. Answer must be two positive integers separated by a comma (,), as follows: 'Lower right row,Lower right column'.
! 122: ;;^DD(.4031,6,21,0)
! 123: ;;=^^4^4^2940908^
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>