Re: Trigger GUI control callback functions programmatically?



In article <fp0at5$72t$1@xxxxxxxxxxxxxxxxx>,
Hoi Wong <wonghoi@xxxxxxxxxxxx> wrote:
In my GUI program, the callback function of a popupmenu is outside the scope
of the function that I want to trigger the callback using command instead of
user action. (i.e. I want the first item to be selected automatically and
take action immediately.)

Is there a way to accomplish that?

See my posting
"Call GUI callback from outside"
Jan 15 2008

[Anyone using the Matlab newsreader may have to manually splice
together the following URL]

http://groups.google.ca/group/comp.soft-sys.matlab/msg/1fa0a4bec43ba22b
--
"Every intellectual product must be judged from the point of view
of the age and the people in which it was produced."
-- Walter Horatio Pater
.



Relevant Pages

  • Re: Trigger GUI control callback functions programmatically?
    ... of the function that I want to trigger the callback using command instead ... user action. ... "Call GUI callback from outside" ...
    (comp.soft-sys.matlab)
  • Re: Trigger GUI control callback functions programmatically?
    ... user action. ... Let's say your scroll bar callback ... guts of the scroll bar callback and extract it into its own function ... called UpdatePlot(). ...
    (comp.soft-sys.matlab)
  • Trigger GUI control callback functions programmatically?
    ... the callback function of a popupmenu is outside the scope ... of the function that I want to trigger the callback using command instead of ... user action. ...
    (comp.soft-sys.matlab)
  • Re: server scenario - variables in the right spot?
    ... If I'm correct in what I think you mean by 'data structures' then I also ... steps, the command has, and a way to mark which steps are done or not done, ... Assuming you are using the same receive callback for each BeginReceive, ... that processes the data for the first buffer. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Waiting in a module command
    ... I want the command not to return (i.e. not give a * prompt and allow ... The speaking is performed using a sound handler (registered with SWI ... callback handler have finished. ... sure that the waiting occurs in an environment that allows callbacks. ...
    (comp.sys.acorn.programmer)