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: safra
  • Content: Threads
  • Order by date
  1. safra

    printing a BMP

    Hi, Apparantly there are several issues with printing a bitmap (such as the size). The code below should solve most of them: var Info: PBitmapInfo; InfoSize: DWORD; Image: Pointer; ImageSize: DWORD; Bits: HBITMAP; DIBWidth, DIBHeight: LongInt; begin Printer.BeginDoc; try...
  2. safra

    TComboBox with onMouse events

    Hi, For some drag drop operations of data between a combobox and a listview I need the OnMouseOver and OnMouseUp events for the ComboBox. Does anyone know how to do this or where I can find a TComboBox with these events added? Thanks, Raoul
  3. safra

    rightclick treeview node

    Hi, I am trying to change popup window contents in a treeview depending on the node that is rightclicked. It seems that when you release the mouse button after right clicking, the previously selected node gets selected. You first have to left click on the node to keep the node selected. This...
  4. safra

    Dynamically refernce a component

    Hi, I have a form with a lot of TEdits. I would like to fill the text property of each of them through a for statement. I can't figure out how to refer to the specific TEdit dynamically. I know I can use an array of TEdit but isn't there another solution like: for i := 1 to 45 do ('P'+i as...
  5. safra

    duplicate table record

    Hi, What would be the fastest way to duplicate all fields of a record in a table (ADO) and then edit 2 of the fields manually? Thanks, Raoul
  6. safra

    ADO basics

    After looking at the BDE I am now trying to figure out how to work with ADO. I am trying to show the records of a paradox file in a dbgrid. With the BDE you can connect directly from a TTable to a table. With ADO it seems you first have to create a Data Source (after selecting Microsoft OLE DB...
  7. safra

    pds format

    Hi, Anyone knows something about delphi and the photoshop .pds format. Is it possible to create a drawing application in delphi and save it in pds format (including layers)? Thanks, Raoul
  8. safra

    photoshop plugin development

    Hi, I am searching for information on how to develop photoshop plugins. Anyone knows where I can find more information about this? Thanks, Raoul
  9. safra

    delete items in listview

    I have two problems with deleting multiple (selected) items in a listview. with ListView1 do for j := 0 to Items.Count - 1 do if Items[j].Selected then ListView1.Items[j].Delete; The problems are caused by the fact that apparantly it is not possible to manipulate the j integer...
  10. safra

    TListview OnCustomDrawItem

    Hi, I have a TListView with an OnCustomDrawItem event. Visibility of Column 9 is set to false. This column is used as a flag in the OnCustomDrawItem event which looks like this: procedure TEmailClientForm.ListView1CustomDrawItem(Sender: TCustomListView; Item: TListItem; State...
  11. safra

    TStringList in thread

    Hi, I am trying to pass a stringlist to a thread. Not much success so far. In brief this is what I have: unit MailThread; interface Uses Classes, SysUtils, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdMessageClient, IdSMTP, IdMessage,dialogs; Type TMailThread = Class(...
  12. safra

    del key

    Hi, I like to delete selected listview item using the Delete key. I tried the onKeyPress event handler but it doesn't work on the Del key. How can I do this?
  13. safra

    Standard windows Glyphs

    Hi, Is it possible to use the standard windows glyphs directly in a program? I am working on an email client as part of a program and would like to use some of the outlook express glyphs. thanks, Raoul
  14. safra

    regex image source html file

    Hi, Anyone can help me with the regular expression to find all file locations of images in an html file? Thanks!
  15. safra

    Check Connection with Internet

    Hi, I looked for this on the Internet and also here in the search files. It seems there are several options like using the registry. However all options I found fail. Whether I am connected or not it always returns the same state. So to me those options do not seems very reliable. I am on an...
  16. safra

    tjpegimage in twebbrowser

    This is probably not possible but I thought I ask anyway, just in case. Can you write a tjpegimage directly into the document of a twebbrowser or is this only possible with standard html image tag and the jpeg saved to disk? Raoul
  17. safra

    sql query syntax problem TQuery

    Hi, I have 2 tables and would like to return the name of an agent from table 2 by its ID in table 1. In php/MySql I would do something like this: However in Delphi using a TQuery I have problems with the syntax as the table names are identified by their filename. I tried: But no results...
  18. safra

    TreeView Basics Part 2

    Hi, I now understand the basics of the TreeView Component. The next step is inserting images. I found the following problems so far. 1. When you use 'AddChild' or 'AddChildObject' to add a node, The manual says that the new node is returned after the function is executed. But how can you...
  19. safra

    treeview basics

    Hi, I am trying to get familiar with the treeview component. What I basically try to do is dynamically create 3 root nodes. Add 2 nodes to the first rood node and add nodes to these nodes (3rd level). This third level also needs to get the Data property filled. for example something like...
  20. safra

    html editor

    Hi, I am currently adding email options to an app and would like to allow html emails. For this I need something like outlook express: text editor tab, html source code tab, preview tab. The text editor tab will be more or less a basic wysiwyg html editor field (including font, image and table...

Part and Inventory Search

Back
Top