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...
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?
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...
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?
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...
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?
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.
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...
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...
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
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...
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(
I have a tree component that keeps all its branches in one
array and each branch contains pointers to its children in the array. But what if I insert a branch into the array do I have to reset all pointers that point to branches higher
in the array?
I have Microsoft's Picture It! software and it allows you
to grab a point on a picture and drag it around.
Does anyone here know how I might be able to accomplish this myself?
Does anyone know if it's possible to manually specify the
pixels in a TImage instead of loading from file.
Like a function something like
SetPixel(int x,int y,TColor Color);
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.