Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ivalentin

    statement missing; in function

    Actualy, it ends with a ) instead of a }, but I think you got the clue.
  2. ivalentin

    statement missing; in function

    The DisplayAltChoice(...) function ends with ( instead of a { You should realy try to read your code more carefuly. It is true that the C++ compilers return some strage messages, and sometimes they don't give you a clue about what's wrong with your code, but they point the portion of code...
  3. ivalentin

    How to move items in ListView?

    You could try the following code (I modified dominochmiel's code). I'm not working on a computer with C++Builder right now, so you might have to make some minor adjustments. int SelItem; void __fastcall TForm1::ListBox1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift...
  4. ivalentin

    Program closes itself

    It would be useful if you could give us some information about the way the program closes. You should try to isolate the part of the program that causes the crashes and see if you can reproduce the crash.
  5. ivalentin

    Creating a new CheckBox with self drawing method ???

    Try to declare the Canvas method the same way Borland does in in TGraphicControl. The source code is in Delphi, but you should be able to 'translate' it into C++.
  6. ivalentin

    BC++B6 - unwanted character when converting AnsiString to char *

    You shouldn't take a pointer to the Text.c_str() method, because it's memory will be erased after the call to the method. The right way to do it would be: strcpy(OutputFile, EDIT_OutputFile->Text.c_str());
  7. ivalentin

    Question about DBLookupComboBox

    I think you should use DBComboBox. The only drawback is that you must fill the Items property manually.

Part and Inventory Search

Back
Top