![]() |
|
#1
|
|||
|
|||
How can I really use FL/Fl_Input?How can I really use FL/Fl_Input??? eg. Fl_Input *a=new Fl_Input(10,10,100,100,""), all I found on those manuals is how to copy the value, but what if I really wanna work with that value? I want to use the data that user is entering, multiplying by 10, and show it on an output. How can I achieve this? thank you all in advance, johnny
|
|||
|
#2
|
|||
|
|||
Re: Hi everyone, I need some help..Hey man, take a look at this code that I wrote:
CPP / C++ / C Code:
I caught the value of input[2] multiplied by 2 and I attributed to out[2]. See what do you think!! Bye!! |
|
#3
|
|||
|
|||
Re: Hi everyone, I need some help..Newhunter, you're a genious. Works like a charm, thank you. I'm not that used with FLTK, and the manual is difficult, I guess you can learn better by example. Anyway thanks.
|
|
#4
|
|||
|
|||
Re: How can I really use FL/Fl_Input?You're welcome. I am happy that it was useful.
See ya! |
Recent GIDBlog
Not selected for officer school by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The