![]() |
|
#1
|
||||
|
||||
problems with a text display in a tabHi all, im newbie programming with fltk and i have a little problem with the Fl_Text_Display.
I have a Fl_Tabs window with some tabs, no problem. In one of the tabs i have a Fl_Text_Display that its ok but a little problem. It dosnt draw in the tab, the text display draws itself in the main window. This is the code: CPP / C++ / C Code:
Thanks Last edited by LuciWiz : 22-Mar-2005 at 13:28.
Reason: Please insert your C code between [c] & [/c] tags
|
|
#2
|
||||
|
||||
|
Quote:
Code:
That helps the formatting and highlights the code. `Nuff said. Quote:
I compiled your code and it just seems that you are not referring to the screen coords but trying to place relative to a group. You can find some code for this in this thread. I took the liberty to shrink the example down a bit so I could see what I was doing. CPP / C++ / C Code:
You could have done a redraw on the window when you changed tabs and the overlap would have been repainted. Just a positioning problem. Hope this is the info you were fishing for. Mark __________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work." --Thomas Alva Edison "Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety." --Benjamin Franklin "A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes." --Hugh Downs Last edited by cable_guy_67 : 22-Mar-2005 at 16:35.
|
|
#3
|
||||
|
||||
|
Thanks, i didnt know the c++ tag to put the code, its great.
|
Recent GIDBlog
Developing GUIs with wxPython (Part 2) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| burning problems PLEASE PLEASE HELP | kelticeire | Computer Hardware Forum | 4 | 01-Dec-2006 15:39 |
| Problems in Counting Lines in Text File | wc3promet | C++ Forum | 2 | 22-Oct-2004 19:12 |
| Problems with changing display resolution | vsseym | Computer Software Forum - Windows | 2 | 27-Jul-2004 10:01 |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 10:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 11:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The