Active tab problem? [message #63423] |
Tue, 11 November 2008 05:55  |
Rongchang Chen
Messages: 12 Registered: August 2008
|
Junior Member |
|
|
My GUI has two tab(A,B).
In 'tab A' it generate a picture and draw it in tab B. After draw the
picture in 'tab B',I would like GUI select 'tab B' as current active
tab automatically, I try some method but it doesn't make sense,is it
possible to achieve this function? Thank you very much!
Best wishes,
Rongchang
|
|
|
Re: Active tab problem? [message #63552 is a reply to message #63423] |
Tue, 11 November 2008 14:08   |
Andrew Cool
Messages: 219 Registered: January 1996
|
Senior Member |
|
|
On Nov 12, 2:02 am, David Fanning <n...@dfanning.com> wrote:
> Rongchang Chen writes:
>> By the way, when 'IDL Programming Techniques 3rd Edition' will
>> publish? I want to buy one.
>
> When I get all the boys out of university. Unfortunately,
> at least two of them are heading to graduate school,
> so it probably won't be Real Soon Now. :-(
>
> Cheers,
>
> David
>
> P.S. Let's just say if I had known those boys were going
> to turn out like their Dad and spend their lives in school,
> I might have tried harder for girls. I've been trying to
> match a few of them up with Andrew Cool's daughters and
> let him take over the financing, but so far no interest. :-(
David,
There's a word for that - pedophilia.
But seriously, here in Oz you don't pay to go to University, up front
that is.
There's a scheme called Higher Education Contribution Scheme (HECS)
under which you are billed
when you graduate, and you pay back a certain percentage each year
from your salary as a newly
minted professional, once you earn over a certain lower limit.
It does mean you start out with a whopping great debt hanging over
your head that can take forever
to pay off.
However, from age 17/18 when you enter Uni to 26 when you walk out
with your PhD under your arm,
all you need do is feed and clothe yourself, and make some beer money
via part-time work.
Which means many students still live at home.
It could be another 18 years before the youngest Dr Cool flies the
coop, which is a sobering thought. :-(
|
|
|
|
|
|
|
Re: Active tab problem? [message #63567 is a reply to message #63423] |
Tue, 11 November 2008 07:52   |
Rongchang Chen
Messages: 12 Registered: August 2008
|
Junior Member |
|
|
On Nov 11, 3:26 pm, David Fanning <n...@dfanning.com> wrote:
> Rongchang Chen writes:
>> My GUI has two tab(A,B).
>> In 'tab A' it generate a picture and draw it in tab B. After draw the
>> picture in 'tab B',I would like GUI select 'tab B' as current active
>> tab automatically, I try some method but it doesn't make sense,is it
>> possible to achieve this function? Thank you very much!
>
> WIDGET_CONTROL, tabB, /SET_TAB_CURRENT
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
David,Thank you very much!
By the way, when 'IDL Programming Techniques 3rd Edition' will
publish? I want to buy one.
Best,
Rongchang
|
|
|
Re: Active tab problem? [message #63570 is a reply to message #63423] |
Tue, 11 November 2008 06:26   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Rongchang Chen writes:
> My GUI has two tab(A,B).
> In 'tab A' it generate a picture and draw it in tab B. After draw the
> picture in 'tab B',I would like GUI select 'tab B' as current active
> tab automatically, I try some method but it doesn't make sense,is it
> possible to achieve this function? Thank you very much!
WIDGET_CONTROL, tabB, /SET_TAB_CURRENT
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Active tab problem? [message #63594 is a reply to message #63552] |
Thu, 13 November 2008 12:51  |
Robbie
Messages: 165 Registered: February 2006
|
Senior Member |
|
|
UK has a similar system now has a similar system to HECS too. However,
you must be a resident for a certain number of years. There are a
number of exceptional cases. I recall some silly exception if you were
the son of a member of the house of Lords.
Robbie
|
|
|