JPH06118939A - Scrolling device for table for numerical controller - Google Patents

Scrolling device for table for numerical controller

Info

Publication number
JPH06118939A
JPH06118939A JP4285528A JP28552892A JPH06118939A JP H06118939 A JPH06118939 A JP H06118939A JP 4285528 A JP4285528 A JP 4285528A JP 28552892 A JP28552892 A JP 28552892A JP H06118939 A JPH06118939 A JP H06118939A
Authority
JP
Japan
Prior art keywords
column
scroll
row
displayed
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4285528A
Other languages
Japanese (ja)
Inventor
Tetsuya Furuta
哲也 古田
Kyoichi Yamamoto
京一 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Okuma Corp
Original Assignee
Okuma Machinery Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP4285528A priority Critical patent/JPH06118939A/en
Publication of JPH06118939A publication Critical patent/JPH06118939A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the table display device which assists an accurate information judgement by an operator while minimizing the burden on the operator by displaying as more information that the operator wants to see as possible in a limited narrow area on a numerically controlled machine tool. CONSTITUTION:According to input data from function keys and arrow keys operated by the operator, an area control part 108 refers to and updates data stored in a fixed area storage part 109, a scroll area storage part 106, and a matrix number corresponding table and then sends a row number, a column number, and coordinates to be displayed to a screen generation part 112 and also instructs a scroll control part 105 to scroll the table. A screen generation part 112 takes data of a virtual table out of a virtual table storage part 107 through a virtual table conversion part 111 and generates and outputs screen data to a CRT 104.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、数値制御装置の表示装
置に描画される表を効率良くスクロールできるようにし
た装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device capable of efficiently scrolling a table drawn on a display device of a numerical control device.

【0002】[0002]

【従来の技術】図10は、従来のスクロール機能を実施
する装置の一例を示すためのブロック図である。以下、
この図10に基づいて各部の機能を説明する。スクロー
ル管理部105は入力制御部102を介してキーボード
101から入力されたキーを判別し、スクロールを実行
した画面を画面作成部112に作成させ、表示制御部1
03を介してCRT104に出力させる。スクロール領
域記憶部106は、横(縦)スクロールする領域中の実
際に表示されている列(行)の左端の列(上端の行)番
号DRMIN(DCMIN)及び右端の列(下端の行)
番号DREND(DCEND)と、完全に表示されてい
る列(行)の中で最も右(下)にある列(行)の番号D
RMAX(DCMAX)と、横(縦)スクロールする領
域の座標値とを記憶しており、これらのデータはスクロ
ール管理部105によって参照、変更される。仮想表記
憶部107は、画面に出力される表に影響されない仮想
的な表で、列の幅、行の高さ、表示すべきデータ、表示
するデータのセル内部での位置等を記憶しており、仮想
的な表の行番号や、列番号を入力されるとそれらのデー
タを出力する。図14はかかる仮想表の概念図を示して
いる。この表の上の数字は列の番号を示しており、左の
数字は行の番号を示している。また、画面作成部112
は行番号、列番号、そのセルの座標値を入力されると、
必要なデータを仮想表記憶部107から得て、表中の要
素あるいは罫線を表示制御部103を介して出力して、
CRT104に表示させる。
2. Description of the Related Art FIG. 10 is a block diagram showing an example of a device for implementing a conventional scroll function. Less than,
The function of each unit will be described with reference to FIG. The scroll management unit 105 determines a key input from the keyboard 101 via the input control unit 102, causes the screen creation unit 112 to create a screen for which scrolling has been performed, and the display control unit 1
Output to the CRT 104 via 03. The scroll area storage unit 106 stores the leftmost column (top row) number DRMIN (DCMIN) and the rightmost column (bottom row) of the column (row) that is actually displayed in the horizontal (vertical) scroll area.
The number DREND (DCEND) and the number D of the rightmost (bottom) column (row) of the completely displayed columns (rows)
RMAX (DCMAX) and the coordinate value of the region to be horizontally (vertically) scrolled are stored, and these data are referred to and changed by the scroll management unit 105. The virtual table storage unit 107 is a virtual table that is not affected by the table output on the screen, and stores the width of columns, the height of rows, the data to be displayed, the position of the data to be displayed within the cell, and the like. When the row number and column number of the virtual table are input, those data are output. FIG. 14 shows a conceptual diagram of such a virtual table. The numbers above this table show the column numbers, and the numbers on the left show the row numbers. Also, the screen creation unit 112
Is the row number, column number, and the coordinate value of the cell,
Obtaining necessary data from the virtual table storage unit 107, outputting the elements or ruled lines in the table via the display control unit 103,
Display on the CRT 104.

【0003】このような構成において、その動作を図1
1のフローチャート及び図12の画面例を参照して説明
する。ただし、列は第1列から第N列まで、行は第1行
から第M行まであるとし、図12(a)の斜線部分が実
際に画面に表示される部分である。また、スクロールの
状態によらず、表の上端と左端は必ず区切りよくセルが
表示されるものとする。図12(a)は最初の画面状態
を示し、第3列から第8列の一部までと、第2行から第
7行の一部までを表示している。先ず、番号DRMI
N、DRMAX、DREND、DCMIN、DCMA
X、DCENDを初期化して、キーボード101からの
キー入力を待ち(ステップS11)、終了キーが入力さ
れた時には終了する(ステップS12)。上記ステップ
S12で終了キーが入力されない場合はキー入力の種類
を判別する(ステップS13)。先ず、右矢印キーが押
されて表が左にスクロールするときの動作について説明
する。キーボード101から右矢印キーが入力されたと
きには、左にスクロールする余地があるか否かを判別し
(ステップS23)、余地がない場合には上記ステップ
S12にリターンする。余地がある場合には、第DRM
IN列の幅だけ左にスクロールする。表示中の横スクロ
ール可能な列の中で最も左にある第DRMIN列の幅W
(DRMIN)及び横スクロールする領域の座標値に基
づいて、第(DRMIN+1)列から第DRMAX列ま
での領域をコピー元領域として算出し(図12(b)の
斜線部分、ステップS25)、この領域をW(DRMI
N)だけ左にコピーして(ステップS26)、横スクロ
ールする領域の左端に移動する(図12(c)の斜線部
分)。続いて、番号DRENDを更新し(ステップS2
7)、列ループ(ステップS28)にて新しく露出する
列である第(DRMAX+1) 列から第DREND列ま
での要素及び縦方向の罫線を描画する(ステップS2
9、S30)。図12(d)の斜線部分はこの描画する
部分を示している。そして、ループを脱出した後、横方
向の罫線を描画し(ステップS32)、番号DRMAX
を更新して(ステップS33)、番号DRMINを1だ
け増加させ(ステップS34)、上記ステップS12に
リターンしてキー入力を待つ。
The operation of such a configuration is shown in FIG.
This will be described with reference to the flowchart of FIG. 1 and the screen example of FIG. However, assuming that the columns are from the 1st column to the Nth column and the rows are from the 1st line to the Mth line, the shaded portion of FIG. 12A is the portion actually displayed on the screen. Also, regardless of the scrolling state, cells are displayed with good separation between the upper end and the left end of the table. FIG. 12A shows the first screen state, and displays the third to a part of the eighth column and the second to a part of the seventh line. First, the number DRMI
N, DRMAX, DREND, DCMIN, DCMA
Initialize X and DCEND, wait for key input from the keyboard 101 (step S11), and end when the end key is input (step S12). If the end key is not input in step S12, the type of key input is determined (step S13). First, the operation when the right arrow key is pressed to scroll the table to the left will be described. When the right arrow key is input from the keyboard 101, it is determined whether there is room for scrolling to the left (step S23). If there is no room, the process returns to step S12. If there is room, the DRM
Scroll left by the width of the IN column. Width W of the leftmost DRMIN column in the horizontally scrollable columns being displayed
A region from the (DRMIN + 1) th column to the DRMAX column is calculated as the copy source region based on (DRMIN) and the coordinate value of the region to be horizontally scrolled (the hatched portion in FIG. 12B, step S25). W (DRMI
Only N) is copied to the left (step S26), and it is moved to the left end of the horizontally scrolled area (hatched portion in FIG. 12C). Then, the number DREND is updated (step S2
7) In the column loop (step S28), the newly exposed columns, ie, the elements from the (DRMAX + 1) th column to the DREND column and the vertical ruled lines are drawn (step S2).
9, S30). The shaded area in FIG. 12 (d) shows the area to be drawn. Then, after exiting the loop, a horizontal ruled line is drawn (step S32), and the number DRMAX is set.
Is updated (step S33), the number DRMIN is incremented by 1 (step S34), and the process returns to step S12 to wait for a key input.

【0004】次に、上記ステップS13において左矢印
キーが押されて、右にスクロールするときの動作につい
て説明する。先ず、スクロールする余地があるか否かを
判別し(ステップS14)、余地があるときには右にス
クロールする。スクロールする大きさは第(DRMIN
ー1)列の幅W(DRMIN−1)とする。第DRMI
N列から第DRMAX列までの幅及びスクロールする領
域の座標値に基づいて、コピー元領域を算出する(ステ
ップS16)。図13(a)の斜線部分はこのコピー元
領域を示している。そして、この領域をW(DRMIN
ー1)だけ右方向でかつ、横スクロールする領域内部に
コピーして(ステップS17)、横スクロールする領域
の右端に移動する(図13(b)の斜線部分)。続い
て、番号DRMINから1だけ減じて(ステップS1
8)、番号DRENDを更新し(ステップS19)、露
出する第DRMIN列の要素及び縦方向、横方向の罫線
を描画する(ステップS20)。図13(c)の斜線部
分はこの新しく描画する部分を示している。その後、番
号DRMAXを更新し(ステップS21)、縦方向の罫
線を描画して(ステップS22)、上記ステップS12
にリターンしてキー入力を待つ。また、縦スクロールに
ついても横スクロールと同様にして実施される。
Next, the operation when the left arrow key is pressed to scroll right in step S13 will be described. First, it is determined whether or not there is room for scrolling (step S14), and when there is room for scrolling, scrolling to the right is performed. The scroll size is the first (DRMIN
-1) The width of the column is W (DRMIN-1). DRMI
The copy source area is calculated based on the width from the Nth column to the DRMAXth column and the coordinate value of the scrolled region (step S16). The shaded area in FIG. 13A shows this copy source area. Then, this area is set to W (DRMIN
-1) is copied rightward and inside the horizontally scrolled area (step S17), and moved to the right end of the horizontally scrolled area (hatched portion in FIG. 13B). Then, subtract one from the number DRMIN (step S1
8), the number DREND is updated (step S19), and the exposed element of the DRMIN column and the ruled lines in the vertical and horizontal directions are drawn (step S20). The shaded portion in FIG. 13C shows this newly drawn portion. After that, the number DRMAX is updated (step S21), a vertical ruled line is drawn (step S22), and the step S12 is performed.
Return to and wait for key input. The vertical scroll is also performed in the same manner as the horizontal scroll.

【0005】[0005]

【発明が解決しようとする課題】従来のスクロール装置
においては、スクロールしない列(行)を実現するに
は、表の外にその列(行)を別途表示しなければならな
いので、縦方向にスクロールしない行と、横方向にスク
ロールしない行を同時に設定することができなかった。
このため、行と列の両方にタイトル欄を持って、縦横共
にスクロールできる表を実現できなかった。また、オペ
レータの指示で、任意の列あるいは行を、スクロールの
状態にかかわらず常に表示させておくということができ
なかったので、比較の基準となる列(行)と他の列
(行)を比較するためには、スクロールを繰り返さなけ
ればならず、操作性が悪かった。本発明は上述のような
事情から成されたものであり、本発明の目的は、オペレ
ータの指示で、任意の列あるいは行をスクロールの状態
にかかわらず常に表示させておくことができるスクロー
ル装置を提供することにある。
In the conventional scroll device, in order to realize a column (row) that does not scroll, the column (row) must be separately displayed outside the table, so that the scroll is performed in the vertical direction. The line that does not scroll and the line that does not scroll horizontally cannot be set at the same time.
For this reason, it is not possible to realize a table that has title columns in both rows and columns and can be scrolled vertically and horizontally. In addition, it was not possible to always display an arbitrary column or row regardless of the scroll state by the operator's instruction, so the column (row) that is the reference for comparison and the other column (row) are not displayed. For comparison, scrolling had to be repeated, and operability was poor. The present invention has been made under the circumstances as described above, and an object of the present invention is to provide a scroll device capable of always displaying an arbitrary column or row regardless of a scroll state by an operator's instruction. To provide.

【0006】[0006]

【課題を解決するための手段】本発明は、表形式にてデ
ータを表示する機能を有する数値制御装置における表の
スクロール装置に関するものであり、本発明の上記目的
は、表中の横スクロールしない列を指定する列指定手段
と、表中の縦スクロールしない行を指定する行指定手段
と、前記指定された領域を除いて横スクロール及び縦ス
クロールを実施する手段とを設けることによって達成さ
れる。
SUMMARY OF THE INVENTION The present invention relates to a table scrolling device in a numerical controller having a function of displaying data in a table format. The above object of the present invention is to prevent horizontal scrolling in the table. This is achieved by providing column specifying means for specifying a column, row specifying means for specifying a row in the table that is not vertically scrolled, and means for performing horizontal scrolling and vertical scrolling except for the specified area.

【0007】[0007]

【作用】本発明によるスクロール装置は、表の中にスク
ロールしない行あるいは列を任意に設定できるので、行
あるいは列毎の比較を容易かつ迅速に行なうことができ
る。また、タイトル欄を行、列の両方に設定できるの
で、表示されている行、列の位置によらず、タイトルを
常に見ることができ、その内容を容易に理解できる。
In the scroll device according to the present invention, rows or columns which are not scrolled can be arbitrarily set in the table, so that the comparison for each row or column can be performed easily and quickly. Further, since the title column can be set for both the row and the column, the title can always be seen regardless of the position of the displayed row or column, and the contents can be easily understood.

【0008】[0008]

【実施例】図1は本発明の一実施例を示すブロック図で
あり、従来装置を示す図10と同一要素に関しては同一
符号を付して、その説明を省略する。以下、図1に基づ
いて各部の機能を説明する。ただし、横スクロールしな
い列は表の左方に集め、縦スクロールしない行は表の上
方に集めるものとして説明する。行列番号対応表110
は、実際に表示されている表の列(行)番号と、仮想表
記憶部107が仮想的に持っている表の列(行)番号と
の関係を記憶しており、実際に表示されている表の列
(行)番号が入力されると、仮想的に持っている表の列
(行)番号を出力する。領域管理部108からはこの表
を書き換えることができる。また、仮想表変換部111
は、実際に表示される表の列番号、行番号を入力される
と、仮想表において対応する列番号、行番号の表示デー
タ、列の幅、行の高さ等を出力する。固定領域記憶部1
09は、横(縦)スクロールしない列(行)の中で最も
右(下)にある列の番号DRL(DCL)、及び横
(縦)スクロールしない領域の座標値を記憶している。
領域管理部108はキーボード101からのキー入力に
応じて、スクロール領域記憶部106、固定領域記憶部
109及び行列番号対応表110を操作した後、スクロ
ール管理部105に対してスクロールするように指示す
る。また、画面に表示すべき列あるいは行とその座標値
を画面作成部112に指示し、画面の表を書き換える。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an embodiment of the present invention, in which the same elements as those in FIG. 10 showing a conventional device are designated by the same reference numerals and the description thereof is omitted. Hereinafter, the function of each unit will be described with reference to FIG. However, it is assumed that columns that are not horizontally scrolled are collected on the left side of the table, and rows that are not vertically scrolled are collected above the table. Matrix number correspondence table 110
Stores the relationship between the column (row) number of the table that is actually displayed and the column (row) number of the table that is virtually held by the virtual table storage unit 107. When the column (row) number of the existing table is input, the column (row) number of the virtually owned table is output. This table can be rewritten from the area management unit 108. Also, the virtual table conversion unit 111
When the column number and the row number of the table actually displayed are input, outputs the display data of the corresponding column number and row number in the virtual table, the width of the column, the height of the row, and the like. Fixed area storage unit 1
The column 09 stores the number DRL (DCL) of the rightmost (bottom) column in the columns (rows) that are not horizontally (vertically) scrolled and the coordinate values of the region that is not horizontally (vertically) scrolled.
The area management unit 108 operates the scroll area storage unit 106, the fixed area storage unit 109, and the matrix number correspondence table 110 according to a key input from the keyboard 101, and then instructs the scroll management unit 105 to scroll. . Further, the column or row to be displayed on the screen and the coordinate values thereof are instructed to the screen creation unit 112, and the screen table is rewritten.

【0009】このような構成において、その動作を図2
のフローチャートを参照して説明する。なお、図11の
処理工程と同一工程に関しては同一符号を付してその説
明を省略する。図2のフローチャートは図11と比較し
て、スクロールする余裕が有るか無いかを判別する工程
における判別条件(ステップS42)と、初期化する工
程において番号DRLも初期化する(ステップS41)
点が異なっている。次に、横スクロールを禁止する際の
処理のフローについて、図4のフローチャート、図3の
画面例及び図5の行列番号変換表を参照して説明する。
図3(a)の例においては第1列が横スクロール禁止と
なっており、第2列以降が横スクロールするようになっ
ており、▼印はスクロールできる範囲を示している。な
お、図3(a)〜(d)において表の周りの数字は説明
の便宜上付加したものであり、画面上には実際は表示さ
れない。また、図5(a)〜(c)においては説明の便
宜上列の幅と行の高さを一定として、左端又は下端に中
途半端に表示される列又は行は無いものとしているの
で、番号DRMAXと番号DRENDは常に等しくなる
ため番号DRENDは省略してある。図3(a)の状態
において、ファンクションキーの「列固定設定」が押さ
れると、ファンクションキーの表示を変更し(ステップ
S51)、横スクロール可能領域の中の適当な列の位置
及び大きさを計算して縦に長いカーソルを表示し(ステ
ップS52)、終了キーが押されたか否かを判別し(ス
テップS53)、終了キーが押されなかった場合は、右
あるいは左の矢印キーに応じてカーソルを移動させ、リ
ターンキーが押されたときの列の番号をCPとする(ス
テップS54)。なお、カーソルは横スクロール可能領
域のみを移動できる。図3(b)はリターンキーが押さ
れる直前の画面の様子を示しており、図5(a)はこの
ときの変換表の様子を示している。ここで、図5(a)
のf(i)は表示される列番号iに対応する仮想表の列
番号を表わしており、横スクロール禁止領域とは横スク
ロールせずに絶えず画面に表示されている列の集合であ
り、横スクロール領域とは、画面に表示中の横スクロー
ルする列の集合であり、横スクロール可能領域とは、画
面に表示されているかいないかを問わず横スクロールす
る列の集合である。
In such a configuration, the operation is shown in FIG.
This will be described with reference to the flowchart in FIG. Note that the same steps as the processing steps in FIG. 11 are designated by the same reference numerals, and the description thereof will be omitted. The flowchart of FIG. 2 is different from that of FIG. 11 in that the determination condition (step S42) in the process of determining whether there is a margin to scroll and the number DRL are also initialized in the initialization process (step S41).
The points are different. Next, a flow of processing when horizontal scrolling is prohibited will be described with reference to the flowchart of FIG. 4, the screen example of FIG. 3 and the matrix number conversion table of FIG.
In the example of FIG. 3A, horizontal scrolling is prohibited in the first column, horizontal scrolling is performed in the second and subsequent columns, and a ▼ mark indicates a scrollable range. 3A to 3D, the numbers around the table are added for convenience of description, and are not actually displayed on the screen. In addition, in FIGS. 5A to 5C, for convenience of description, it is assumed that the column width and the row height are constant, and there is no column or row displayed halfway at the left end or the lower end. And the number DREND are always equal, the number DREND is omitted. When the "fixed column setting" function key is pressed in the state of FIG. 3A, the display of the function key is changed (step S51), and the position and size of an appropriate column in the horizontal scrollable area are changed. A long cursor is calculated and displayed vertically (step S52), and it is determined whether the end key is pressed (step S53). If the end key is not pressed, the right or left arrow key is pressed. The cursor is moved and the column number when the return key is pressed is set to CP (step S54). The cursor can move only in the horizontally scrollable area. 3B shows the state of the screen immediately before the return key is pressed, and FIG. 5A shows the state of the conversion table at this time. Here, FIG.
F (i) represents the column number of the virtual table corresponding to the displayed column number i, and the horizontal scroll prohibited area is a set of columns that are constantly displayed on the screen without horizontal scrolling. The scroll area is a set of columns that are horizontally scrolled while being displayed on the screen, and the horizontal scrollable area is a set of columns that is horizontally scrolled regardless of whether they are displayed on the screen.

【0010】次に、カーソルを表示している列を横スク
ロール禁止列として、横スクロール禁止領域へ移動す
る。その手順は、先ず第CP列の仮想表における列番号
をTEMPに退避し(ステップS55)、行列番号対応
表変更ループにて行列番号対応表を並べ替える(ステッ
プS56)。すなわち、第(DRL+1)列からカーソ
ルの有る列の前までを1つずつ右へずらし(ステップS
57)、ループ終了後、退避しておいた仮想表における
列番号を横スクロール禁止列の最後に追加する(ステッ
プS58)。図5(b)はこの操作の概念図を示してい
る。続いてカーソルを一旦消去して(ステップS5
9)、番号DRL及び番号DRMINをそれぞれ1だけ
増加させ(ステップS60)、第DRL列及び、第DR
MIN列から第CP列までの要素と罫線とを描画し(ス
テップS61)、上記ステップS52に戻る。図5
(c)はこの時の行列番号対応表の様子を示している。
なお、上記ステップS53にて終了キーが入力された場
合には、縦長のカーソルを消去し(ステップS62)、
ファンクションキーをこのモードに入る前の状態に戻し
て(ステップS63)、このモードを終了する。
Next, the column in which the cursor is displayed is set as a horizontal scroll prohibited column and moved to the horizontal scroll prohibited area. In the procedure, first, the column number in the virtual table of the CPth column is saved in TEMP (step S55), and the matrix number correspondence table is rearranged in the matrix number correspondence table change loop (step S56). That is, from the (DRL + 1) th column to the front of the column where the cursor is, shifts to the right one by one (step S
57), after the loop ends, the column number in the saved virtual table is added to the end of the horizontal scroll prohibited column (step S58). FIG. 5B shows a conceptual diagram of this operation. Then, the cursor is once deleted (step S5
9), the number DRL and the number DRMIN are each incremented by 1 (step S60), and the DRL column and the DR
Elements from the MIN column to the CPth column and ruled lines are drawn (step S61), and the process returns to step S52. Figure 5
(C) shows the state of the matrix number correspondence table at this time.
If the end key is pressed in step S53, the vertically long cursor is erased (step S62),
The function key is returned to the state before entering this mode (step S63), and this mode ends.

【0011】次に、横スクロール禁止を解除する際の処
理のフローについて、図7のフローチャート、図6の画
面例及び図8の行列番号変換表を参照して説明する。な
お、図6(a)においては、第1列及び第2列が横スク
ロールしない列である。図6(a)の状態でファンクシ
ョンキーの「列固定解除」が押されると、ファンクショ
ンキーの表示を変更し(ステップS71)、横スクロー
ル禁止領域の適当な列の位置と大きさを計算してカーソ
ルを表示する(ステップS72)。ここで、終了キーが
押されたか否かを判断し(ステップS73)、終了キー
が押されない場合には、右あるいは左の矢印キーに応じ
てカーソルを移動させ、リターンキーが押されたときの
列の番号をCPとする(ステップS74)。ただし、カ
ーソルは横スクロール禁止領域から食み出ることはな
い。図6(b)は、リターンキーが押される直前の画面
の状態を示しており、図8(a)はこの時の行列番号対
応表の様子を示している。次に、行列番号対応表を変更
して、この列を横スクロール可能領域へ移動させる。そ
の手順は、先ず第CP列の仮想表における列番号f(C
P)をTEMPに退避し(ステップS75)、行列番号
対応表変更ループ(ステップS76)にて、第(CP+
1)列から第(DRL+TEMPー2)列までを1つず
つ左へずらし(ステップS77)、ループ終了後、カー
ソルが表示されている列を仮想表に対応する位置に移動
する(ステップS78)。この処理によって、f(i)
はi=DRL+1,… ,Nに対して、常に昇順に整列
することになる。図8(b)はこの動作の概念図を示し
ており、図8(c)は変更後の行列番号対応表を示して
いる。そして、縦長のカーソルを画面から消去し(ステ
ップS79)、番号DRLと番号DRMINからそれぞ
れ1だけ減じ(ステップS80)、番号CP、番号DR
MAX及び番号DRENDを更新する(ステップS8
1)。最後に表示される全ての列、すなわち、第1列か
ら第DRL列までと第DRMIN列から第DRMAX列
までを描き直し、上記ステップS72以降の動作を繰り
返す。なお、上記ステップS73で終了キーが入力され
た場合は、カーソルを消去すると共に(ステップS8
3)、ファンクションキーの表示を変更して(ステップ
S84)、このモードを終了する。図6(c)は終了直
前の画面の様子を示し、図6(d)は終了直後の画面の
様子を示している。また、行の縦スクロール禁止の設定
及び解除も、列と同様にして実施される。
Next, the flow of processing when canceling the horizontal scroll prohibition will be described with reference to the flowchart of FIG. 7, the screen example of FIG. 6 and the matrix number conversion table of FIG. Note that in FIG. 6A, the first column and the second column are columns that do not horizontally scroll. When the "release column lock" function key is pressed in the state of FIG. 6A, the display of the function key is changed (step S71), and the position and size of an appropriate column of the horizontal scroll prohibited area are calculated. A cursor is displayed (step S72). Here, it is determined whether or not the end key is pressed (step S73). If the end key is not pressed, the cursor is moved according to the right or left arrow key, and when the return key is pressed, The column number is designated as CP (step S74). However, the cursor does not stick out of the horizontal scroll prohibited area. 6B shows the state of the screen immediately before the return key is pressed, and FIG. 8A shows the state of the matrix number correspondence table at this time. Next, the matrix number correspondence table is changed to move this column to the horizontally scrollable area. The procedure is as follows. First, the column number f (C
(P) is saved in TEMP (step S75), and in the matrix number correspondence table change loop (step S76), the (CP +)
1) The columns from the (DRL + TEMP-2) th column are shifted to the left one by one (step S77), and after the loop ends, the column where the cursor is displayed is moved to the position corresponding to the virtual table (step S78). By this processing, f (i)
Will always be sorted in ascending order for i = DRL + 1, ..., N. FIG. 8B shows a conceptual diagram of this operation, and FIG. 8C shows a changed matrix number correspondence table. Then, the vertical cursor is erased from the screen (step S79), the number DRL and the number DRMIN are each decreased by 1 (step S80), the number CP and the number DR are added.
MAX and number DREND are updated (step S8)
1). All the finally displayed columns, that is, the first column to the DRL column and the DRMIN column to the DRMAX column are redrawn, and the operation from step S72 is repeated. If the end key is pressed in step S73, the cursor is erased (step S8
3) The display of the function keys is changed (step S84), and this mode ends. 6C shows the state of the screen immediately before the end, and FIG. 6D shows the state of the screen immediately after the end. Further, the setting and cancellation of the vertical scrolling prohibition of the row are performed in the same manner as the column.

【0012】一方、図9は本発明による画面例を示して
おり、図9(a) ではロットは表示されている数より多く
有り、項目も、表示されているものの他に納期、加工状
況等の項目が有る。また、第1列を横スクロール禁止と
して、ロット名を表示してあり、第1行を縦スクロール
禁止として、項目名を表示してある。このため、横方向
にスクロールさせて他の項目を表示させても、縦方向に
スクロールさせて他のロットを表示させても、スクロー
ルの位置によらず、常にロット名と項目名は表示されて
いる。しかし、このまま横スクロールさせても、加工開
始予定日と納期、加工状況等のデータを同時に表示する
ことはできない。ところが、加工開始予定日の列を横ス
クロール禁止とすれば、他の列を横スクロールさせるこ
とによって、図9(b) の如く、現在は表示されていない
納期、加工状況等のデータと加工開始予定日とを同時に
表示させて、比較することができる。もちろん縦スクロ
ールは第1行を除いて可能なので、全てのロットについ
てこの表示が可能である。
On the other hand, FIG. 9 shows an example of a screen according to the present invention. In FIG. 9 (a), there are more lots than the displayed number, and the items are displayed, in addition to the delivery date, the processing status, etc. There is an item. Further, the first column is displayed with horizontal scrolling prohibited and the lot name is displayed, and the first row is displayed with vertical scrolling prohibited and item name is displayed. Therefore, even if you scroll horizontally to display other items, or vertically scroll to display other lots, the lot name and item name are always displayed regardless of the scroll position. There is. However, even if the user horizontally scrolls as it is, it is not possible to simultaneously display the data such as the scheduled start date of processing, the delivery date, and the processing status. However, if horizontal scrolling is prohibited for the scheduled processing start date row, by scrolling the other rows horizontally, data such as delivery date and processing status that are not currently displayed and processing start are displayed as shown in Fig. 9 (b). The scheduled date can be displayed at the same time for comparison. Of course, vertical scrolling is possible except for the first row, so this display is possible for all lots.

【0013】[0013]

【発明の効果】本発明によれば無駄なスクロール操作を
回避することができ、表の行あるいは列毎の比較を素早
く確実に行なえるので、操作性を高め、操作時間を短縮
することができる。
According to the present invention, useless scrolling operations can be avoided, and comparison can be performed for each row or column of a table quickly and reliably, so that operability can be improved and operation time can be shortened. .

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明の動作例を示すフローチャートである。FIG. 2 is a flowchart showing an operation example of the present invention.

【図3】本発明に係わるスクロール禁止列の設定画面の
表示装置上への表示例を示す図である。
FIG. 3 is a diagram showing a display example of a scroll prohibited column setting screen according to the present invention on a display device.

【図4】本発明のスクロール禁止列の設定の動作例を示
すフローチャートである。
FIG. 4 is a flowchart showing an operation example of setting a scroll prohibited column according to the present invention.

【図5】本発明の行列番号変換表の例を示す図である。FIG. 5 is a diagram showing an example of a matrix number conversion table of the present invention.

【図6】本発明に係わるスクロール禁止列の解除画面の
表示装置上への表示例を示す図である。
FIG. 6 is a diagram showing a display example of a scroll prohibition column release screen according to the present invention on a display device.

【図7】本発明のスクロール禁止列の解除の動作例を示
すフローチャートである。
FIG. 7 is a flowchart showing an operation example of canceling a scroll prohibited column according to the present invention.

【図8】本発明の行列番号変換表の例を示す図である。FIG. 8 is a diagram showing an example of a matrix number conversion table of the present invention.

【図9】本発明に係わる表の表示装置上への表示例を示
す図である。
FIG. 9 is a diagram showing a display example of a table according to the present invention on a display device.

【図10】従来のスクロール装置の構成例を示すブロッ
ク図である。
FIG. 10 is a block diagram showing a configuration example of a conventional scroll device.

【図11】従来のスクロール装置の動作例を示すフロー
チャートである。
FIG. 11 is a flowchart showing an operation example of a conventional scroll device.

【図12】従来のスクロール装置の表示装置上への表示
例を示す図である。
FIG. 12 is a diagram showing a display example on a display device of a conventional scroll device.

【図13】従来のスクロール装置の表示装置上への表示
例を示す図である。
FIG. 13 is a diagram showing a display example on a display device of a conventional scroll device.

【図14】従来のスクロール装置の仮想表の概念を示す
図である。
FIG. 14 is a diagram showing a concept of a virtual table of a conventional scroll device.

【符号の説明】[Explanation of symbols]

108 領域管理部 110 行列番号対応表 111 仮想表変換部 108 area management unit 110 matrix number correspondence table 111 virtual table conversion unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】表形式にてデータを表示する機能を有する
数値制御装置において、表中の横スクロールしない列を
指定する列指定手段と、表中の縦スクロールしない行を
指定する行指定手段と、前記指定された領域を除いて横
スクロール及び縦スクロールを実施するスクロール手段
とを具備したことを特徴とする数値制御装置における表
のスクロール装置。
1. A numerical control device having a function of displaying data in a table format, comprising column designating means for designating columns in the table which are not horizontally scrolled and row designating means for designating rows in the table which are not vertically scrolled. A scroll device for a table in a numerical control device, comprising: scroll means for performing horizontal scrolling and vertical scrolling except for the designated area.
【請求項2】前記横スクロールしないよう指定された列
を表中の左方または右方に移動し、前記縦スクロールし
ないよう指定された行を表中の上方または下方に移動す
る手段を有している請求項1に記載の数値制御装置にお
ける表のスクロール装置。
2. A means for moving the column designated not to scroll horizontally to the left or right in the table and moving the row designated not to scroll vertically to the upper or lower part of the table. The table scroll device in the numerical control device according to claim 1.
JP4285528A 1992-09-30 1992-09-30 Scrolling device for table for numerical controller Pending JPH06118939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4285528A JPH06118939A (en) 1992-09-30 1992-09-30 Scrolling device for table for numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4285528A JPH06118939A (en) 1992-09-30 1992-09-30 Scrolling device for table for numerical controller

Publications (1)

Publication Number Publication Date
JPH06118939A true JPH06118939A (en) 1994-04-28

Family

ID=17692704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4285528A Pending JPH06118939A (en) 1992-09-30 1992-09-30 Scrolling device for table for numerical controller

Country Status (1)

Country Link
JP (1) JPH06118939A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007079644A (en) * 2005-09-09 2007-03-29 Sharp Corp Display device, control method for display device, control program for display device, and recording medium with control program for display device recorded thereon
JP2007256401A (en) * 2006-03-22 2007-10-04 Casio Comput Co Ltd Display controller and control program
JP2007531128A (en) * 2004-03-31 2007-11-01 インターナショナル・ビジネス・マシーンズ・コーポレーション Dynamic instantiation of entities that are not visible on the screen (method and apparatus for displaying information)
JP2015079507A (en) * 2013-10-18 2015-04-23 株式会社トゥービーソフトTobesoft Co., Ltd. Grid output controller for mobile device and output control method for grid

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007531128A (en) * 2004-03-31 2007-11-01 インターナショナル・ビジネス・マシーンズ・コーポレーション Dynamic instantiation of entities that are not visible on the screen (method and apparatus for displaying information)
JP4921352B2 (en) * 2004-03-31 2012-04-25 インターナショナル・ビジネス・マシーンズ・コーポレーション Dynamic instantiation of entities that are not visible on the screen (method and apparatus for displaying information)
JP2007079644A (en) * 2005-09-09 2007-03-29 Sharp Corp Display device, control method for display device, control program for display device, and recording medium with control program for display device recorded thereon
JP2007256401A (en) * 2006-03-22 2007-10-04 Casio Comput Co Ltd Display controller and control program
JP2015079507A (en) * 2013-10-18 2015-04-23 株式会社トゥービーソフトTobesoft Co., Ltd. Grid output controller for mobile device and output control method for grid

Similar Documents

Publication Publication Date Title
JPH08166783A (en) Information processing device
JPH06118939A (en) Scrolling device for table for numerical controller
JPH0769778B2 (en) Icon menu / palletizing method
JPH0477804A (en) Display method for industrial robot controller
JP3185209B2 (en) Display control device
JP3533758B2 (en) Scroll control device and display device
JP2001117918A (en) Document editing processor
JP3115068B2 (en) Screen display control device
JP3490779B2 (en) Screen control device by key input
JPH05173693A (en) Menu editing device
JP2679971B2 (en) Graphic display control device
JPH05204584A (en) Window display device and window display method
JPH05173711A (en) Input system in touch panel input screen
JP2928858B2 (en) Multi-window display control apparatus and method
JP2868125B2 (en) Cursor moving device
JPH02143325A (en) Window displaying system
JPH04318619A (en) Window display control device in multiwindow system
JP3118806B2 (en) Document processing device
JP3080105B2 (en) Ruled line selection device
JPH06230923A (en) Screen display device
JPH06103020A (en) Crt operation monitoring device
JPH07199900A (en) Window system
JPH1027086A (en) Display device
JPH02183294A (en) Display control system
JPH0497420A (en) Document processor