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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Leroy1981

  1. Leroy1981

    Constructing Forms Within TPropertyEditor Derived Classses

    I playing with property editors and trying to get a form to display when the property edit button is clicked in the object inspector. I can't figure out what to send to the form's constructor as a parent. Is it something found in TApplication? Can I only use forms with component editors? Or do...
  2. Leroy1981

    Property and Component Editor Info

    When I try using this instead of NULL for a form it cannot find match for constructor TPropertyDialog(TXEditor *const) And I can't seem to get frames working either. That article talked about adding to existing windows dialogs but I need to be able to start from scratch. Any Ideas?
  3. Leroy1981

    Property and Component Editor Info

    I am tinkering with property editors and comonent editors for my custom components and I plan to use complex dialogs for editing certain properties and components as whole. I already know how to override Edit() but I seem to be having difficulty getting the dialog box to work right. Right now I...
  4. Leroy1981

    Several Questions about Component Creation

    Thanks for the info. I guess I'll just get used to not using operators with my components.
  5. Leroy1981

    Several Questions about Component Creation

    How exactly do you statically allocate components? When I try to do this this I get an error saying that vcl classes must be constructed using new. Plus, dereferencing the pointers every time you want to add 2 components would undermine the benefits of operator overloading would'nt it?
  6. Leroy1981

    Have to reinstall stuff all the time

    Thanks for your input guys but I found out that my computer had a virus and when I kicked it's ass everything went back to normal
  7. Leroy1981

    Several Questions about Component Creation

    I have several questions about component creation 1.How do I overload the +-/* operators for components? I tried ComponentName __fastcall operator+(ComponentName Value); ComponentName* __fastcall operator+(ComponentName* Value); ComponentName& __fastcall operator+(ComponentName& Value); But...
  8. Leroy1981

    Changes to components code don't take effect

    I clicked the compile button on the box that shows which files are part of the package. That just made me think. Should I go to the project menu and go to Build instead?
  9. Leroy1981

    Changes to components code don't take effect

    I just found out that this is the case with all the components in the package and I added this component to another unrelated project and the changes still didn't take effect.
  10. Leroy1981

    Changes to components code don't take effect

    I have a project group that contains a package with a component i am building as one project and an empty form project for testing. Everything was going fine switching between these projects but now the changes I make to the component don't show up in the test project. I rebuilt both project...
  11. Leroy1981

    TreeView Component creation problem

    I am creating my own treeview component but when i try branch add more than 4 nodes off the root node I get a weird error that sometimes shuts C++ Builder down. When I go to build the package that this component is in, I get an access violation in vcl50.bpl or borlandmm.dll right when I click...
  12. Leroy1981

    Have to reinstall stuff all the time

    I'm not positive it's a problem with the operating system but for certain software I have to reinstall it when I turn my computer back on. Some examples are: Kazaa, 3D Studio Max, Blasterball 2 Revolution
  13. Leroy1981

    Runtime TOpenDialogs

    I figured it out. int the constructor: WaveLoader=new TOpenDialog(this);
  14. Leroy1981

    Question about 16-bit waveform audio data

    I can convert an 8-bit audio sample to an int no problem. But I store the wave data in an array of BYTEs so a 16-bit sample consists of 2 separate BYTEs. I tried to take these BYTEs and memcpy them into a WORD since it's the same size as the two and cast it to int but I get values like 64,292...
  15. Leroy1981

    Runtime TOpenDialogs

    I am building a component that has an open dialog available for use. the declaration in the header: TOpenDialog* Fileloader; in the components constructor: Fileloader=new TOpenDialog; i get this compile time error for some reason Could not find a match for TOpenDialog::TOpenDialog(

Part and Inventory Search

Back
Top