comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Table widget?
items: 02:Re:Table Widget
items: Re: Table Widget
items: Re:Table Widget

Table widget?
type: item
description: Hi! I'm having some trouble keeping a widget window small enough to fit on the screen but still big enough to do what I need to do. I need about 10 rows & 15 columns of 6-digit CW_FIELDS, but when I make an array of CW_FIELD widgets, even with small type, no space etc, there is lots of padding between the boxes both horizontally & vertically. So maybe someone has a TABLE widget or some other solution? Thanks in advance. -- <<<<< sig copyright Evan M. Manning ======= manning@alumni.caltech.edu >>>>> Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restful it is to watch the cursor blink. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt otherwise. i=3;do{putchar(((0x18|1<<!(i&2)|(!!i==i)*2)<<2|2>>i%2)^(2 <<1+i));}while(i--);
creator: manning
date: 1995-11-22T08:00:00-00:00

02:Re:Table Widget
type: item
description: From: DMottershead <DMottershead@mhl.nsw.gov.au> Subject: Re:Table Widget Organization: Manly Hydraulics Laboratory (*ptr).plot.xAxis1->SetProperty, tickdir = 1 (*ptr).plot.xAxis1->SetProperty, Location = [0,0] ;(*ptr).plot.xAxis1->SetProperty, Location = [xs[0],ys[0]] (*ptr).plot.yAxis1->SetProperty, Ticklen = 0.01 ;(*ptr).plot.xAxis1->SetProperty, major = ymajor (*ptr).plot.yAxis1->SetProperty, minor = 4 (*ptr).plot.yAxis1->SetProperty, range = yrange (*ptr).plot.yAxis1->SetProperty, YCoord_Conv = ys (*ptr).plot.yAxis1->SetProperty, tickdir = 1 ;(*ptr).plot.yAxis1->SetProperty, Location = [xs[0],ys[0]] (*ptr).plot.yAxis1->SetProperty, Location = [0,0] ;(*ptr).plot.xAxis1->GetProperty, Ticktext = xAxisText ;(*ptr).plot.yAxis1->GetProperty, Ticktext = yAxisText xaxistext = Obj_New('IDLgrText', font = (*ptr).plot.helvetica6pt) yaxistext = Obj_New('IDLgrText', font = (*ptr).plot.helvetica6pt) xAxisText->SetProperty, Font=(*ptr).plot.helvetica6pt yAxisText->SetProperty, Font=(*ptr).plot.helvetica6pt (*ptr).obj.omodel->add, xaxistext (*ptr).obj.omodel->add, yaxistext ; render the graphics to the window (*ptr).obj.owindow -> Draw, (*ptr).obj.oview ;endif else begin ;help, result2 ;a = result2 ;print, a ;return ;endelse ;Put the info structure back. ;Widget_Control, event.top, Set_UValue=ptr, /No_Copy ;case uval of ;'insertrows': begin ;result = widget_info(event.id,/table_select) ;print, 'ir', result ;result = widget_info(event.id,/table_select) ;widget_control, insert_rows ;return ;end ;'insertcols': begin ;result = widget_info(event.id,/table_select) ;print, 'ic', result ;result = widget_info(event.id,/table_select) ;widget_control, insert_rows return ;end ;endcase END pro ctdplt_event, event WIDGET_CONTROL, event.top, GET_UVALUE = ptr WIDGET_CONTROL, event.id, GET_UVALUE = uval case uval of 'exit':begin ptr_free, ptr WIDGET_CONTROL, event.top, /DESTROY return end 'draw':begin WIDGET_CONTROL, event.top, /realize return end 'insertrows': begin result = CTD_Table_Widget_…
creator: UUCP
date: 1998-01-23T08:00:00-00:00

Re: Table Widget
type: item
description: Following are the files I have been using. The first is a file with a '.cnv' extension full of ASCII column data. The function ra_check_file has been included because it didn't believe the data file was ASCII for some reason returning the value -4 to the main procedure. These values have therefore been adjusted. the same applies for function at_check_file. Next is the readgen procedure, followed by the normalize procedure. Then comes the procedures. Have fun playing with it. Oh, David, it's only 11:03 am at the moment and it is a great day. I might just have a few beers for you this evening while watching the sunset as suggested. If the guys at RSI are reading I would like to know how to change tack and re-design this code using OO methodology. Since I was taught this way I seem to be locked into producing code only this way. * Sea-Bird SBE 19 Data File: * FileName = \SEA_19\RAW_DATA\wl181208.HEX * Software Version 4.206 * Temperature SN = 1670 * Conductivity SN = 1670 * System UpLoad Time = Dec 19 1997 11:31:40 * Ship: * Cruise: * Station: * Latitude: * Longitude: * ds * SEACAT PROFILER V3.0e SN 1670 12/19/97 11:29:41.198 * strain gauge pressure sensor: S/N = 165408, range = 100 psia, tc = 218 * clk = 32768.078 iop = 197 vmain = 8.0 vlith = 5.8 * mode = PROFILE ncasts = 11 * sample rate = 1 scan every 0.5 seconds * minimum raw conductivity frequency for pump turn on = 2500 hertz * pump delay = 45 seconds * samples = 7549 free = 35824 lwait = 0 msec * SW1 = 80 battery cutoff = 5.8 volts * number of voltages sampled = 4 * logdata = NO * S> * cast 8 12/18 13:09:04 samples 5832 to 6444 sample rate = 1 scan every 0.5 seconds stop = switch off # nquan = 14 # nvalues = 32 # units = metric # name 0 = scan: scan number # name 1 = pr: pressure [db] # name 2 = c0mS/cm: conductivity [mS/cm] # name 3 = t090: temperature, ITS-90 [deg C] # name 4 = oxC: oxygen, current [ï¿½A] # name 5 = oxT: oxygen, temperature [deg C] # name 6 = ph: pH # name 7 = obs: backscatterance # name 8 = …
creator: DMottershead
date: 1998-01-23T08:00:00-00:00

Re:Table Widget
type: item
description: Subject: Re: Table Widget Date: Fri, 23 Jan 1998 10:10:23 +1000 From: <dmottershead@mhl.nsw.gov.au> To: david fanning <davidf@dfanning.com> Following are the files I have been using. The first is a file with a '.cnv' extension full of ASCII column data. The function ra_check_file has been included because it didn't believe the data file was ASCII for some reason returning the value -4 to the main procedure. These values have therefore been adjusted. the same applies for function at_check_file. Next is the readgen procedure, followed by the normalize procedure. Then comes the procedures. Have fun playing with it. Oh, David, it's only 11:03 am at the moment and it is a great day. I might just have a few beers for you this evening while watching the sunset as suggested. If the guys at RSI are reading I would like to know how to change tack and re-design this code using OO methodology. Since I was taught this way I seem to be locked into producing code only this way. The second file is a procedure called readgen and the third standard function, fourth * Sea-Bird SBE 19 Data File: * FileName = \SEA_19\RAW_DATA\wl181208.HEX * Software Version 4.206 * Temperature SN = 1670 * Conductivity SN = 1670 * System UpLoad Time = Dec 19 1997 11:31:40 * Ship: * Cruise: * Station: * Latitude: * Longitude: * ds * SEACAT PROFILER V3.0e SN 1670 12/19/97 11:29:41.198 * strain gauge pressure sensor: S/N = 165408, range = 100 psia, tc = 218 * clk = 32768.078 iop = 197 vmain = 8.0 vlith = 5.8 * mode = PROFILE ncasts = 11 * sample rate = 1 scan every 0.5 seconds * minimum raw conductivity frequency for pump turn on = 2500 hertz * pump delay = 45 seconds * samples = 7549 free = 35824 lwait = 0 msec * SW1 = 80 battery cutoff = 5.8 volts * number of voltages sampled = 4 * logdata = NO * S> * cast 8 12/18 13:09:04 samples 5832 to 6444 sample rate = 1 scan every 0.5 seconds stop = switch off # nquan = 14 # nvalues = 32 # units = metric # name 0 = scan: scan number # name 1 = pr: pressure [db] # na…
creator: DMottershead
date: 1998-01-23T08:00:00-00:00