Hello.
I would like to advise how can i get ip address on my pc
and copy it to Form2->label2.
For example Im trying to show in my program,informations of internet connection speed,ip adsress... Im thinking about something like :
void __fastcall TForm1::Button1Click(TObject *Sender)
{...
Hello,thaks for reply.. It is done. But I had a problems
when i declared variables as private.I done it by first way as you advised.I found some errors in the code..And yes Im very new in c++ builder.. thanks
I tried to do it those ways but doesnt work.
example:
I declared on the form1 int a,b,c and currency res1,res2,
a=1,b=2,c=3.
res1=a+b+c
and then on the form2 i need to use res1
res3=(res1/res4)*x
Form1->Label1->Caption=((res3)) always showing 0 so res1 on the form2==0.
If both form are public no...
Hi.Thanks for reply..res1 I declared on the form1.
Do you mean , should I declace res1 in Project1.cpp file.that include All forms 1,2,3,4.I gonna try it ..Thanks for now
Hello..
I just started with 2010 c++ builder.
I would like to ask for right write in of the command.
I want to use result from Unit1->Form1 on the Form2.
For exemple,Form1->res1=20,and on the Form2->res4=(res1/res3)
And then
on the Form1= label->Caption=((res4))
I tried meny types of code And...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.