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!

Search results for query: *

  • Users: Totte
  • Order by date
  1. Totte

    How to include the bpl and dll files in c++ exe?

    Project -> Options... -> Packages. Uncheck "Build with runtime packages". Project -> Options... -> Linker: Linking: uncheck "Use Dynamic RTL" Totte Keep making it perfect and it will end up broken.
  2. Totte

    Overriding the ComboBox SetItemIndex method

    I did that simply by setting the ItemIndex to the item it should show. Actual snip: cbbCOMport->ItemIndex = Counter; Totte Keep making it perfect and it will end up broken.
  3. Totte

    C++ Builder 2007 - Opening medium project is too slow.

    How much memory in the computer? It could be a HD-memory swap-ting which stops everything as always. Totte Keep making it perfect and it will end up broken.
  4. Totte

    Form window move event?

    A Form has a number of "On..." events, ("OnResize", "OnActivate", "OnClick" and so forth) and what I'm looking for is an event that occurs when the Form has been moved to a new location on the screen. The result would be that when i start my program the main form comes up as usual. If I then...
  5. Totte

    Form window move event?

    I have a program which consist of several forms which can be shown or not. I would like to be able to preserve a certain "look" with the different forms and thus i would like to save their position on the screen, this part is the easy and already done. My problem is that i can't find an...
  6. Totte

    How to get version info?

    Thank You, works like a charm! I'm just a little baffled that the versions and such are not existing like som sort of #define but never mind, this solution works and I'm fine with that. Totte Keep making it perfect and it will end up broken.
  7. Totte

    Suggestions on Creating SubForms?

    I understand the question as such: The program starts and collect som variable and that variable determines the apperance of the main form, is this correct? If it's correct there are a few ways that i come to thing about to solve it. One is panels as c56791 suggests, placing them on top of...
  8. Totte

    How to get version info?

    WinXP, BCB6. Have a project that the customer repeatly wants new ways of doing things. Mainly it's expansion of an existing project but i would like to be compatible so i don't need to copy and rename a lot. I back-up with the correct names so now i have one problem: I would like to read the...
  9. Totte

    String Evaluate/Modify is Killing me

    Nope, i'm still stuck with BCB6 Totte Keep making it perfect and it will end up broken.
  10. Totte

    String Evaluate/Modify is Killing me

    Could it be that You're typing the value in and thus does NOT need the duble backslash? "c:\\newpath" written as constant in the program will, in run-time, be "c:\newpath" whereas it will be interpeted as "c:\" '\n' "ewpath" (i.e. "c:\", Newline [never exist in ANSIstring]...) in "runtime"...
  11. Totte

    Linker Error in Borland

    That file belongs to the TpaPro serial communication pack. Add the path to the project and it will work. Totte Keep making it perfect and it will end up broken.
  12. Totte

    Reading a text file

    I have a project which amongst other needs to read a Motorola Hex-file which is a text-reprensatation of binary datas. To speed up the program i simply read the size of the textfile, reserves memory for the whole file and reads into memory in one chunk. From thereon it's almost the same: find a...
  13. Totte

    Array of objects

    I use to declare them as: char * Data[] = {"String1", "String2", "String3"}; That way Data[0] points on the first strings first character, to access the individual characters use *(Data[0] + Index) where 'Index' is the characternumber to pick. Totte Keep making it perfect and it will end up...
  14. Totte

    File Position Pointer

    I have another approach but then i'm doing something different. I read the file size, reserve a buffer of that size and read the whole file into that buffer and then closes the textfile. Then i'm able to screen through the full text and pick whatever i need and when i'm done with the text i...
  15. Totte

    structures in C

    int event : 3; means that 'event' is 3 bits in an int. If you need to conserve space you can do so: struct { int End_Of_Line : 1; int Start_Of_Line : 1; int Something_Inserted : 1; ... } Flag; then you can access those in the usual manner 'Flag.End_Of_Line' and so forth. I have...
  16. Totte

    Extensions in Borland C++ Builder

    Control panel->Folders->Filetypes Then you register which program to activate by what extention. Totte Keep making it perfect and it will end up broken.
  17. Totte

    Which one Works first

    The constructor is the first, it runs when the program is started. The "FormCreate" is run when the form comes from invisibel to visibel. Totte Keep making it perfect and it will end up broken.
  18. Totte

    Error message in Borland c++ Builder

    The '!' means "the opposite" or "NOT". Thus the statement means: Set Timer->Enabled to the opposite state of what's in now. True will become false and vice-versa. Totte Keep making it perfect and it will end up broken.
  19. Totte

    Canvas->TextOut disappears.

    Must it be the character 'X'? Would 2 lines drawn to form a X do the trick? A textbos requires more space around it than the textsize gives. Looked ut TShape in the BCB6 help file: "If the shape is only part of the image of a custom control, use the methods of the control’s canvas instead."...
  20. Totte

    Canvas->TextOut disappears.

    Well.... off the top of my head i would have printed out the square-number and the location of the textbox with the 'X' in, it seems to be a calculating problem. If the calculating are correct it's time to test the placing of the 'X' through a for(;;) loop with a delay for each 'X' placed...

Part and Inventory Search

Back
Top