nanogui: FLNX 0.14 - scrolling problem


Previous by date: 9 Nov 2000 03:06:01 -0000 Re: Scancode kbd driver, peter.igelaus.com.au
Next by date: 9 Nov 2000 03:06:01 -0000 Shared Library, KIM,KYOUNG-IL (HP-Cupertino,ex1)
Previous in thread:
Next in thread: 9 Nov 2000 03:06:01 -0000 Re: FLNX 0.14 - scrolling problem, Jeff Moellmer

Subject: FLNX 0.14 - scrolling problem
From: ####@####.####
Date: 9 Nov 2000 03:06:01 -0000
Message-Id: <48256992.0010605D.00@HKGWEB01.VTECH.COM.HK>

Hi Jeff,

I'd like to resize the Tabs group to fit the window when the virtual keypad is
actived or disactived (toggled).
I find no problem when the Tabs Group is resized and the scroll bar is
automatically shown on the right. However, the label of input field is crashed
(the labels seem overlapped) when scrolling.
What am I doing wrong? Please advise how to resolve this problem.
Can I redraw it after scrolling? But, I find no event issued during scrolling.
What can I do?

Here list the part of my program for reference.

//toggle keypad
void Pb::keypad() {
if(flag) {
 Disp->CatTabsGp->size(240,150);   //shrink the Tabs group when keypad is
actived
 KeyPadDisp->KeyPadGp->show();     //invoke the keypad
} else {
 KeyPadDisp->KeyPadGp->hide();     //hide the keypad
 Disp->CatTabsGp->size(240,220);   //grow the Tabs group when keypad is
disactived
}
flag^=true;
}

//create the Tabs group for user input
void Disp::inputDisp()
{
//...omit something

      { Fl_Tabs* o = CatTabsGp = new Fl_Tabs(0, 0, 240, 229);          //create
the Tabs group, default as large size
        o->callback((Fl_Callback*)cb_CatTabsGp);
        { Fl_Group* o = CompanyInfo = new Fl_Group(0, 19, 240, 210, "Company
Info");
          o->labelsize(11);
          { Fl_Scroll* o = new Fl_Scroll(0, 19, 240, 210);
            { Fl_Input* o = Company = new Fl_Input(60, 19, 160, 20, "Company:");
              o->box(FL_THIN_DOWN_BOX);
              o->labelsize(11);
              o->textfont(5);
              o->textsize(11);
            }
//...omit other input field
            o->end();
            Fl_Group::current()->resizable(o);
          }
          o->end();
        }
        o->end();
      }

//... omit something
}


Thanks,
HiFi Wong.



Previous by date: 9 Nov 2000 03:06:01 -0000 Re: Scancode kbd driver, peter.igelaus.com.au
Next by date: 9 Nov 2000 03:06:01 -0000 Shared Library, KIM,KYOUNG-IL (HP-Cupertino,ex1)
Previous in thread:
Next in thread: 9 Nov 2000 03:06:01 -0000 Re: FLNX 0.14 - scrolling problem, Jeff Moellmer


Powered by ezmlm-browse 0.20.