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 strongm 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: *

  • Users: INDO
  • Order by date
  1. INDO

    OnMouseDown Event

    Is there any way I can get an OnMouseDown event for a shape that I have created using: (Canvas->Ellipse) method?. I need to add 1 each time the Ellipse is clicked with the mouse. I realise I should have placed a shape on the form rather than used the canvas, however I have come too far with...
  2. INDO

    moving shape

    Thanks alot greatkingrat that was very helpful. Indo
  3. INDO

    moving shape

    I am trying to get a shape to move by using a timer and 4 buttons. The idea is to get the timer to get the shape moving to the right on creation and then use the buttons to move the shape either to the left, up or down. The problem is that when the form is created and the shape begins to move...
  4. INDO

    Which method?

    Could someone please tell me how I can get the text that is typed into an edit box to become displayed in a list box. Basically I am adding an item to an existing list (the method i have returns a void) but i wish to display this text with the click of a button. Any help please? INDO
  5. INDO

    bar graphs

    I am trying to create a bar graph using the MoveTo and LineTo methods. This is the code for the original display, I am trying to convert to a bar graph. Any pointers please? if (initialised){ Canvas->MoveTo(20,199 - 2* DataEngine1.NextItem()); for (Count = 2; Count <+DataEngine.Size(); Count...
  6. INDO

    help needed with combobox

    Thanks a lot cyprus. you saved the day. INDO
  7. INDO

    help needed with combobox

    I am trying to create a form with 3 shapes and each shape is chosen from a combo box and in turn is displayed on the form with the other shapes not visible. What is the best way to accomplish this. Where do I place the code and what properties do I use? just a push in the right direction would...
  8. INDO

    float parameters

    could somebody please give me a clue as to how I can reduce the number of digits from a float when giving a write out command i.e. for a float that gives currency as an answer? rather than 2.6799346 I would like 2.67. many thanks Indo
  9. INDO

    spaces again

    if I was to use the following code(from a library source) would the - 1 remove digits from the beginning or the end of the string?. for(Index = 1; Index <= Length(Line)) if(Line[Index] = 32) Line[Index] = Line[Index]-1; Index = Index + 1; also will the (32) be recognised as a space...
  10. INDO

    manipulating strings

    I am trying to write what i guess should be a simple program where i enter a string which may have spaces at the beginning and elsewhere and i have to print out the string with one word per line and no spaces. The basic part of the code I have so far is: Line = ReadStringPr(&quot;Enter a line...
  11. INDO

    endless loop

    I have witten a code to check if a numbe is a cube but keep getting an endless loop when I enter a cubed number. I can't spot my mistake. Any help please? int Number; int Test; Test = 1; Number = ReadIntPr(&quot;Enter a whole number for testing: &quot;); while(Test * Test * Test <=...
  12. INDO

    palindrome testing

    Could somebody please give me some pointers on my code for palindrome testing. As you can see I am new to Borland programming. I think i have the main points okay but there are still errors. Many thanks. int main (int argc int, chr** argv) { AnsiString word; int Index; int Reverse; char...

Part and Inventory Search

Back
Top