comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: GUI and checkboxes error
items: Re: GUI and checkboxes error

GUI and checkboxes error
type: item
description: Hi, I am trying to put some checkboxes into an existing idl gui, and every time i click on the checkbox this error appears. % Expression must be a structure in this context: CMD. This cmd variable is associated to an event handler, which is getting the structure of the file where the gui is defined, and storing it for use. I just want the checkbox to check or uncheck, so as to use it later on for determining user defined options for the program. Thank you for any help you might give me.
creator: Martín Garay-MacLea
date: 2013-06-21T19:36:15-00:00

Re: GUI and checkboxes error
type: item
description: On Friday, June 21, 2013 3:36:15 PM UTC-4, Martín Garay-MacLean wrote: > Hi, I am trying to put some checkboxes into an existing idl gui, and every time i click on the checkbox this error appears. > > > > % Expression must be a structure in this context: CMD. > > > > This cmd variable is associated to an event handler, which is getting the structure of the file where the gui is defined, and storing it for use. I just want the checkbox to check or uncheck, so as to use it later on for determining user defined options for the program. > > > > Thank you for any help you might give me. I forgot to post the procedure where the error is happening. Widget_Control, event.id, Get_UValue=cmd Call_Method, cmd.method, cmd.object, event These are the only lines of code it has.
creator: Martín Garay-MacLea
date: 2013-06-21T19:39:18-00:00

Re: GUI and checkboxes error
type: item
description: Martín Garay-MacLean writes: > I forgot to post the procedure where the error is happening. > > Widget_Control, event.id, Get_UValue=cmd > Call_Method, cmd.method, cmd.object, event > > These are the only lines of code it has. Well, I would put "Help, cmd" just in front of your Call_Method call and see just want cmd is, if it is not a structure. Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.idlcoyote.com/ Sepore ma de ni thue. ("Perhaps thou speakest truth.")
creator: David Fanning
date: 2013-06-21T20:14:50-00:00