FLTK logo

Re: [fltk.general] trying to emulate tab_nav(1)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: trying to emulate tab_nav(1) imm May 05, 2021  
 
On Wed, 5 May 2021 at 10:08, Dave Jordan wrote:
>
> notes = new Fl_Text_Editor(x, y, w, h);
> notes->box(...);
> notes->textsize(...);
> notes->color(...);
> notes->textcolor(...);
> notes->cursor_color(...);
> notes->wrap_mode(Fl_Text_Display::WRAP_AT_BOUNDS, 0);
> Fl_Text_Editor::kf_ignore(notes, FL_Tab);    // compiles but does nothing as far as i can see. I am using 1.3.5 ABI 10300)
> notes->tab_nav(1);                                       // compiler error no such member (ABI version too old I think).
>
> I have also tried subclassng and adding handler, to no avail.
> thanks for any help.

Dave,

You might need to describe what it is you actually want to do here (in
terms simple enough for me to understand...)
The crux is, as you are no doubt aware, that tab is a valid character
in a text editor, and so tab-navigation in an editor widget can not
work like tab-navigation between other widgets.
But to help with this, we do need to know what you actually want to achieve.

-- 
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAGFM6dY-U%2Byda%2BVCZsg61UadzTCFdh_es7hBg932_N_W9%3DFp8g%40mail.gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.