[fltk.general] spreed sheet in fltk

2012-02-01 Thread Forough Mehralian
I have a spreed sheet (include a table of input boxes in the out put) I put a scroll bar for it as it was larger than the screen width I did this by using Fl_Scroll and made the input boxes between Fl_Scroll scroll = new Fl_Scroll(0, 0, 780, 580); scroll-end();  I wanted to add labels rows

Re: [fltk.general] spreed sheet in fltk

2012-02-01 Thread Greg Ercolano
On 02/01/12 08:29, Forough Mehralian wrote: I wanted to add labels rows and columns but something that is important is that the labels of rows should just scroll by the vertical scroll bar and the labels of columns should just scroll by the horizontal scroll bar and I dont know how should I do

Re: [fltk.general] spreed sheet in fltk

2012-02-01 Thread Greg Ercolano
On 02/01/12 08:29, Forough Mehralian wrote: I wanted to add labels rows and columns but something that is important is that the labels of rows should just scroll by the vertical scroll bar and the labels of columns should just scroll by the horizontal scroll bar and I dont know how should I do

Re: [fltk.general] spreed sheet in fltk

2012-02-01 Thread Greg Ercolano
On 02/01/12 09:31, Forough Mehralian wrote: thanks for your help but I don't know what to write in my callback and how should I understand which scroll bar was moved and then how should I add my all labels to just e.g. vertical scroll bar? (Please follow up to the group though, not

Re: [fltk.general] spreed sheet in fltk

2012-02-01 Thread Greg Ercolano
On 02/01/12 09:22, Greg Ercolano wrote: On 02/01/12 08:29, Forough Mehralian wrote: I wanted to add labels rows and columns but something that is important is that the labels of rows should just scroll by the vertical scroll bar and the labels of columns should just scroll by the horizontal