Hello Texters, I do as follows: TGTextEntry * fTeRunNr; TGTextBuffer * fTbRunNr; // belongs to TextEntry fTeRunNr ... ostrstream buf; buf << setfill('0'); buf << setw(3) << irun; fTbRunNr->Clear(); fTbRunNr->AddText(0,buf.str()); buf.rdbuf()->freeze(0); gClient->NeedRedraw(fTeRunNr); -- Cheers, Otto ---------------------------------------------------------------------------- Otto Schaile Sektion Physik der LMU Muenchen Phone: (+49 89)289 14070 Am Coulombwall 1, D-85748 Garching, Germany FAX: (+49 89)289 14072 EMail: Otto.Schaile@Physik.Uni-Muenchen.DE
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:40 MET