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 SkipVought 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. ElenaKB

    Delphi Action Object

    I am trying to use Action Objects to keep several of my components in sync and to act on an OnClick event only once. The components are not menu items or toolbar buttons as in all the Action examples. I think I have discovered a problem that could almost be called a bug in Delphi, but can...
  2. ElenaKB

    Trunc of multidimensional dynamic arrays

    Here is *** for Glenn! And some for roo too! After trying out various things with copying and moving etc and each time running into unexpected problems, I've implemented Glenn's suggestion of having a base value from which I calculate the indexes. So the array does not actually get cropped...
  3. ElenaKB

    Trunc of multidimensional dynamic arrays

    Thanks for the ideas. I'll play with them and I know the right solution will present itself. Cheers!
  4. ElenaKB

    Trunc of multidimensional dynamic arrays

    Nice to get confirmation for what I had thought myself, that what I wanted to do wasn't possible. My mistake was thinking of my dynamic array as a continuous block of memory with a pointer to it's start, so what I wanted to do was make that pointer point to a new start further into the array...
  5. ElenaKB

    Trunc of multidimensional dynamic arrays

    Wow, what a quick reply - thanks very much! My program manipulates measured data values, at the moment about 200 x 200 doubles, but I want it to be able to do 1000x1000 or more. The user can then view this data as a 3D surface chart. He may want to edit certain points, apply verious filters...
  6. ElenaKB

    Trunc of multidimensional dynamic arrays

    I have a large 2 dimensional dynamic array of doubles. I want to "crop" it in an elegant way, e.g. use a function SetDimensions(xstart, ystart, xend, yend) on it. Now the "high" end is no problem, I can just call SetLength(myDynArray, xend, yend) and it will either enlarge or reduce the size of...

Part and Inventory Search

Back
Top