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: XNOR
  • Order by date
  1. XNOR

    GAME PORT

    Whats a game port? Do you mean controller port?
  2. XNOR

    script editing (determine keywords in files)

    This is my code for parsing and replacing in my program "Tiny" parse is sent the line number in memo. void LineInfo::parse(int n) { int i; nw = 0; const int nc=16; char command[nc][16]={"ADD ", "PRINT ", "IF ", "ELSE...
  3. XNOR

    MS Visual C++ vs. Borland C++

    You could be getting a biased opion from around here ;) I am sticking my guns with the rest of the crowd, no sense in repeating whats been said. ... oh what the heck, Borland is so easy to use
  4. XNOR

    Copy, Paste, etc...

    For something closer to what im looking for... here is an example of something thats close to working: String EditName; an event for any editbox OnEnter(Tobject *Sender) { EditName = ((TEdit*) Sender)->Name; } CopyClick() { EditName->CopyToClipboard(); } Of course this wont work...
  5. XNOR

    Copy, Paste, etc...

    Well, while looking through one of my C++ books (Teach yourself C++ Builder in 21 days) i cam across the hint feature. When you want a long hint on the status bar, you have to add some specific things. One of those that caught my eye was Application->OnHint = &OnHint; Where &OnHint is the...
  6. XNOR

    Copy, Paste, etc...

    ok, sorry, i looked but i have no clue how to navigate that community. much less search for that thread :-/
  7. XNOR

    Copy, Paste, etc...

    When i mentioned that i wanted to use the ClipBoard, i meant copy, cut and paste. Those three actually use it, i was making a generalization. Anyway, i have a month before i will be compiling a final draft and would like as much to work in this program as possible before it goes out. If anyone...
  8. XNOR

    Copy, Paste, etc...

    James, i understand how to check the Focus, copy and paste, its just that i have over 2 dozen edit boxes and that number will probably tripple by the time im done with this program. The idea is that when i go up to my Edit menu and select copy, i want the selected text from any of the numerous...
  9. XNOR

    Copy, Paste, etc...

    Hi, i'd like to use the ClipBoard, but what do i do when i have a large number of Edit boxes? Am i left to check each one for Focused() or is there a function that can tell me what component is focused? Even if i were to find out which item was Focused(), how would i call the Object(in this...
  10. XNOR

    Truncate after decimal

    thats ok m8. i created a function that took the float and made an int of the whole number and first two decimal places. Then it puts the two into a string so i can include the decimal point. l8r
  11. XNOR

    Truncate after decimal

    well shoot... i forgot that even if i wanted to cut off those decimal places with my method, the float still prints the remaining 5 gazillion zeros. :( Now i wonder if its possible to truncate a float and still use it as a float. What i mean is id have to have a truncfloat or truncf in order to...
  12. XNOR

    Truncate after decimal

    Trying to cut down a float to the hundredth position as in cents. Borland mentions TRUNC, Trunc, Truncate and the such. The error says undefined func and including math.h doesnt help. Let me know if you know whats up or of you have a unique way of doing this. hrmmmm, well, i could clip the...
  13. XNOR

    CheckListBox component help

    Sheesh, it seems that every time i come by here for help, i answer my own questions. The answer: if(CheckListBox1->Checked[i] == true) do something; where i = a number item in the list of Strings. The reason im so blind and missed it is because in the pointer-pop-up help box, it states...
  14. XNOR

    CheckListBox component help

    How do i use this component? Lets say i have multiple Items (that would be the case anyway right ;)) How do i check to see if one is Checked == true ie: if(CheckListBox1->Item(1) == true) do something; The Borland help files dont explain how to check for and individually checked...
  15. XNOR

    BCB ActiveX HTML CSS components???

    Im looking for any components or patches for my BCB ver4. I want to be able to view a html page that uses style sheets(CSS) with a component in borland. The current one i have only supports regular html. Anyone have a clue where to get such things?
  16. XNOR

    strncmp resulting in OutOfRange error

    Uhm, ok. Well, i fixed the problem by just doing a whole new project. Dont ask me why those problems arise... but if you know, please do tell. Now if i may, ill move away silently to avoid any ridicule due to my buggy code ;)
  17. XNOR

    strncmp resulting in OutOfRange error

    hi fellow programmers, a bit of help if you will. :) I am writing a program to search and replace certain lines/strings in a memo/richedit. Here is the code: void __fastcall TForm1::Button2Click(TObject *Sender) { int i; int n=0; int token = 0; //this sets up some strings so i can do a...

Part and Inventory Search

Back
Top