Search:

Type: Posts; User: siegelp

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    17,445

    To answer your question about why you get a...

    To answer your question about why you get a different error when running the code in c++ vs. running it in Java, it's because your c++ debugger does more work for you; it is certainly not intrinsic...
  2. All good to know! Thanks a lot for your help. ...

    All good to know! Thanks a lot for your help.

    -Paul
  3. Replies
    11
    Views
    17,445

    There must be something wrong with your compiler....

    There must be something wrong with your compiler. Your first example is perfectly fine C++ code; the variable i loses scope as soon as the for loop terminates. Try running it again.
  4. Thanks, dynamic_cast looks like exactly what I...

    Thanks, dynamic_cast looks like exactly what I was looking for.

    Regarding your other comments:
    I would not actually create buttons that way; in the program I am working on all of the panels are...
  5. Using TObject class in Borland C++ Builder event handling

    I'll give an example to illustrate what I want to do:



    TForm1 *Form1;
    //---------------------------------------------------------------------------
    __fastcall TForm1::TForm1(TComponent*...
  6. Replies
    2
    Views
    7,108

    That worked perfectly, thanks. It seems like a...

    That worked perfectly, thanks. It seems like a pretty bad implementation of that feature on the part of Borland, though, mainly because it's a bit of a departure frome the rest of the framework and...
  7. Replies
    2
    Views
    7,108

    Borland C++ Builder question

    Hi,
    I just wanted to know how to change the font style of a control in C++ Builder on the fly. For example, suppose that the following occurs:

    TPanel* Panel;
    Panel = new TPanel(Form1);
    ...
Results 1 to 7 of 7