Hiba wrote:
> Good evening everybody. I'm sorry if i asked this question many times but 
> really i didn't get the response i want.
> 
> I want to add (using fluid) in the browser i created many paths (the current 
> folder, the files and folders it contains, the parent folder).
> When i select one of those items, the whole path shoule appear in a "text 
> input".
> How to do that? Please help me!!!
> Thank you a lot

        I'm pretty sure I answered this question with much detail:
        http://fltk.org/newsgroups.php?gfltk.general+v:24789

        If you had trouble with the answers, please address the
        things you tried and had problems with specifically.

        You recently added "the whole path should appear in a "text input""
        which just means you'd modify the callback I sent you earlier
        to apply the returned value to the input widget using the input
        widget's value() method:
        http://fltk.org/documentation.php/doc-1.1/Fl_Input.html#Fl_Input.value

        In the case I sent you, in your callback you might do something like:
        your_input->value(your_browser->text(your_browser->value())

        ..where "your_input" would either be a global, or passed in
        as user_data.

        If you don't know how to use user_data(), then please watch the
        FLTK video tutorials link that Duncan sent you, as that will
        get you up to speed on how callbacks work, and how to access
        widgets. In particular, see the fluid video tutorial.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to