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

    How to avoid saving a property to dfm file?

    Hi there, I've built a grid control inherited from TStringGrid for which I do not want to save a specific property (since it is always determined at run-time). The property in question is RowHeights (array property inherited from TCustomGrid). Even if I redeclared the property within my...
  2. rcloutie

    ProcessMessages to specific thread

    Hi all, Using D2007 under XPSP3. Is there a way to execute a kind of ProcessMessages method to a specific thread? Here is my problem: 1. From a main form, I post a message to display the status of a record. 2. Before the message to be intercepted, the main form loads another form (which...
  3. rcloutie

    RAD Studio 2007 IDE intermittent problems

    Hi all, Is anybody experiencing intermittent problems using RAD Studio 2007 IDE? Something like IDE access violation, code navigation problems, highlight units not found (ADODB) while they are (compilation succeded), etc. Since few weeks I'm trying to obtain a service pack from CodeGear...
  4. rcloutie

    Search for messages in shared folders

    Hi all, I'm using Delphi (via GW API) to extract messages from GroupWise. vGWApp:=CreateOleObject('NovellGroupWareSession'); vGWLog:=vGWApp.Login; sFind:='(MAIL) AND (BOX_TYPE=INCOMING)'; if bAllMsg then vGWFind := vGWLog.AllMessages.Find(sFind) else vGWFind :=...
  5. rcloutie

    Pointer Question...

    Hi all, I read about pointers since few days and found that Delphi's objects (or class's instances) are already pointers. Knowing that, I have simple question... Do pointers are important when speaking objects or they are only when dealing with types or records definition)? Is that class...
  6. rcloutie

    How to get a property value using a string

    Hi all, Is there any way to get / set a property value using a string identifier? Something like: oMyClass.Properties('CalcValueX') := x; x := oMyClass.Properties('CalcValueX'); instead of: oMyClass.CalcValueX := x; x := oMyClass.CalcValueX; The point is that all...
  7. rcloutie

    TADOConnection vs KeepConnection

    Hi there, I'm using Delphi 2007 via ADO objects to establish a connection to SQL Server 2005 databases. Since few months, we have some problems with our advantage database server (need to be rebooted every 2 weeks or so), which is accessed from a linked server of SQL Server 2005. We think...
  8. rcloutie

    TAdoConnection vs KeepConnection

    Hi there, Since few months, we have some problems with our advantage database server (need to be rebooted every 2 weeks or so), which is accessed from a linked server of SQL Server 2005. We think that maybe there's a property which cause connections to duplicate. Actually, there's only one...
  9. rcloutie

    [DCC Error] F2438 UCS-4 text encoding not supported. Convert to UCS-2

    Hi there, [DCC Error] F2438 UCS-4 text encoding not supported. Convert to UCS-2 or UTF-8 1. Googling it find only chinese address... 2. Program compiles even if error msg... 3. Both .bdsproj and .dproj are set to UTF-8 Where to convert a project from UCS-4 -> UTF-8 ??? Thank you for help...
  10. rcloutie

    VCL XP Look and feel

    Hi there, I've built a bunch of components based on common controls to implement company's rules (standard behavior within all projects). I have a question about my own derived control of TCheckBox : TMyCheckBox = class(TCheckBox). When opening existing projects, the look of my controls are...
  11. rcloutie

    Asynchronous TPopupMenu

    Hi all, Is there a way to display a TPopupMenu in a way that other process in the application can continue to run (that is, an asynchronous popup menu)? I have a progressbar which stops responding when user open a popup menu... Thanks a lot for help, Rej Cloutier
  12. rcloutie

    class private shared member

    Hi there, I have a class which has standard members (i.e. string / integer fields). But there's a private variable of type TObjectList and the most beautiful thing of that member is that it is a list of object of itself... recursivity... Also, there's another private variable object which I...
  13. rcloutie

    bpl unit initialization section

    Hi all, I have a bpl in which I share an instance of a class (or unit) that implements section initialization and finalization. In the initialization section, the class (inherited from TApplication) creates itself. Here's a skeleton of my class...
  14. rcloutie

    Display MailBox content

    Hi there, Using GroupWise 7.02 with API SDK 2006-02-02... Here's how (Delphi code) I retrieve mailbox's content: --- s:='(MAIL) AND (BOX_TYPE=INCOMING) AND (CREATE_DATE >= TODAY - 7)'; vGWBox := vGWLog.AllMessages.Find(s); --- All works fine except that it returns all messages, even those...
  15. rcloutie

    varchar(max)

    Hi there, Users always want more... I have a column of type varchar(1000) and someone asked me to expand this limit. I can put it to 2000 but I know for sure that, one of these days, another person will ask me to expand it again... Considering that actually there's no search clause in all...
  16. rcloutie

    fsStayOnTop from a modal form

    Hi all, I have a modal form from which I call a detailed form with StayOnTop flag. All works fine but one thing: my form always stays over all other applications. I want it to be topmost but only within my app (if the caller is not modal, everythings ok) I tried: Setting FormStyle :=...
  17. rcloutie

    VCL based on TTreeView

    Hi, I've built a VCL based on TTreeView control. Some code have placed within the [protected function CustomDrawItem override] of the VCL. The code is to modify default font to show properties per node [bold for selected item, gray for locked items]. Also, there's a call to DrawFocusRect over...
  18. rcloutie

    SQL Query vs aggregate MAX

    Hi all, I need to optimize a SQL query from a table counting about 1.6M records. Suppose a table which contains all products bought from a supplier (that is, PO detail lines). I need to get the last price for each product. Something like: SELECT CodeProd, DescProd, Price, UnitPrice...
  19. rcloutie

    TCollectionItem with a TCollection member???

    Hi there, First, I'm using Delphi 2006. I've defined 3 classes to implement collection minding in my app. TclsArtItem = class(TCollectionItem) TclsArtList = class(TCollection) TclsArt = class(TCollection) All works fine but one thing: TCollectionItem must have a member which is of type...
  20. rcloutie

    TAdoQuery vs invalid parameters

    Hi there, I'm using Delphi 2006 with SQL Server 2005. All my queries are using TAdoQuery without any parameters. Here's an example: SELECT ArtCode WHERE ArtDesc LIKE '%HUB FRONT 7"OD-4:1/2%' When executing the query from within SQL Server, there's some results found. But when executing the...

Part and Inventory Search

Back
Top