On 08.03.2012 06:15, Rajesh Kumar wrote:

>     In my application, in a single frame am taking choice boxes. When user
> selects item in one choice box, the related sub item should be
> automatically appeared in the next choice box. I am using fltk2.0 and ARM
> processor. I am redrawing the group every time. But the same is not
> happening.

There's no /magic/ that could make this happen. What did you try?

> Can you suggest any method to do this??????

Set a callback on the "one choice box", and when this is called,
set the value() of the "next choice box", and then redraw this
one. There's no need to redraw "the group every time".

This looks like a really basic question, so be warned not to use
FLTK 2 for learning or production code, since this is not going
to be maintained and supported any more. Please use FLTK 1.3 instead.

Also, we won't do home work here, so please be more specific with
your question(s), post your (not) working code or a minimal example
code that can be compiled, so that we can check it and give you hints
to improve it.

However, you'll probably not get many replies if you work with
deprecated, never released FLTK 2. Sorry to say that :-(

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to