Re: 4gl DISPLAY ARRAY - Highlighting ??? !@!*@&!
Posted in 1994
On 15 Feb 1994, Bill Border wrote: > (I'm winging a 4gl program and the books don't seem to answer this > question) > > In a 4gl program where I'm displaying an array, how do you get only > the line that the cursor is on to highlight (or reverse video). Here is an example that allows an individual line to be highlighted in attribute bold and "dehighlighted" by attribute normal. You are responsible for determining the value of work_array_line and work_screen_line--probably from arr_curr() and scr_line() in the case of display array. However, it will work if you are controlling your own program and screen arrays as well. display pa_proc_view_cc[work_array_line].procedure_date, pa_proc_view_cc[work_array_line].sample_id, to sa_view_1[work_screen_line].procedure_date, sa_view_1[work_screen_line].sample_id, attribute(bold) display pa_proc_view_cc[work_array_line].procedure_date, pa_proc_view_cc[work_array_line].sample_id, to sa_view_1[work_screen_line].procedure_date, sa_view_1[work_screen_line].sample_id attribute(normal) > > Thanks in advance, > Bill *8o) > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > /*** > / ***\\ Hewlett-Packard Company > / \\ / Colorado Springs ITC > /* / \\ /**\\ > /***\\ / \\/ \\ Phone: TN/(719) 590-3402 > / \\ \\ Fax: " " 590-3596 > / Bill Border \\ \\ EMail: border@cs.itc.hp.com > / MVS Technical Support Mailstop: C103G -- Con Woodall Colorado St. U.; Veterinary Teaching Hospital; Ft. Collins CO 80523; 303-491-1244 FAX 303-491-4414 cwoodall@vth1.vth.colostate.edu Opinions not nec. employer's, but mine might be right. Then again... --