I am having a world of problems of what i thought to be rather simple.
Edit1->Text = "123401278034987120478102873401982734";
Now Edit1->Text is an AnsiString
and i would like to format...
Type: Posts; User: darketernal
I am having a world of problems of what i thought to be rather simple.
Edit1->Text = "123401278034987120478102873401982734";
Now Edit1->Text is an AnsiString
and i would like to format...
When i e-mail my visual C# program to my friend, it doesnt open, which packages should i attach in order for my friend to open it, how do i do that?
Also i am using Japanese version and sending...
urgh, im seeing whats going wrong now, in this example.
of course if id checked 1 and 2 in order to get hello world,
i didn't checked 3 + 4 , so in other words the false statement is true and...
My code as now would be this.
void __fastcall TForm1::Button1Click(TObject *Sender)
{
if(CheckBox1->Checked==true && CheckBox2->Checked==true)
{
Amen i will go along with using && , i have absolutely no problems with that as long as it will get my program to work. I removed the semi colons, and i re-hosted the pictures, hopefully you can view...
Regardless on wether if i use & or && it doesn't work,
what i noticed tho is that i should remove the ; behind my if statement. then it works for the following....
yep that's the problem , its giving both indiscriminatly.
Have a look what happens if i press the button.
http://blogphotohost.com/show.php?id=584F9dbaS280bb53Sdf7858B56d40C8c
I changed the...
all are false by default.
That doesn't work.
using && as the logical and as you describe it , gives the same problem.
Its not nice, i need assistance on this one.
Ok, its fairly simple: Condition 1 + Condition 2 = add the lines "hello world" in richedit. But its not working
(i have 4 conditions in one button click)
Should sound simple but its giving me...
ok, i founded a fitting solution. It seems that it all has to do with the value that is stored in the memory of the computer.
if in Borland i would use a floating point 1/255 =...
Ok, i've been messing around, but even the extended doesn't give more then 0.0185185185185185185
You know you have the FloatToDecimal function.
The Decimals parameter specifies the requested...
Anyway my list of problems doesn't seem to end.
im calculating 1.0/54.0 = 0.0185185185185185185 = not correct
Your ordinairy windows calculator would give 1/54 =
...
I want to thank you from the bottom of my heart,as it works -_-
It feels unnatural tho because every calculator on the planet can give a 1/5 = 0.2 result.
Am i wrong for thinking that such a...
Ok, this stuf compiles in Borland builder
Edit1->Text = FloatToStr(1/5);
but the devision doesn't work.
if you say Edit1->Text = FloatToStr(1 - 0.34343);
the calculation does work.
The main consern is how to translate that into a floating value that gets displayed in spinedit?
(I use borland c++ builder 5)
Lets say i want the number 1 devided by 4 = 0.25
i want my CSpinEdit to display this number.
So i tried CSpinEdit1->value = 0.25.
It doesn't work, my...
http://uploader.ws/upload/200705/raw_example.jpg A very rough example on how to retrieve the RGB values from any given random colour.
roughly explained basically its a multiplication
256 for...
Sorry for the imagine not being visible, the page died on me, anyway i managed to fix the problem myself into obtaining the RGB values from a random given color.
void __fastcall...
-sigh- although i expected an answer like that, it still hurts >.<
As said easier said then done, have a look again
http://uploader.ws/upload/200705/rgb.jpg
To display this screen when we...
I can't get the RGB Values.
Im Using a ColorDialog1 , in Borland Builder 5.
on Button1->ColorDialog1->Execute()
a screen appears where you can choose from the colors
red = 0 to...
What i am asking here is if anyone knows where the http://www.bytamin-c.com/ building site has gone too? Its been off-line for quite a while and i have no idea why. The C ++ programming Borland...
( i solved it like this ) *take in context it's C++ Builder*
Since i had no idea how to (mouse click is the listbox value) i had to figure out how i could assign (as doggiesnot stated)...
( i solved it like this ) *take in context it's C++ Builder*
Since i had no idea how to (mouse click is the listbox value) i had to figure out how i could assign (as doggiesnot stated)...
Making a second attempt.
string = Hello
'use code to remove 'O' from hello
string = Hell