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...
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...
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...
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 :=...
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...
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...
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...
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...
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...
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...
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
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...
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...
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...
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...
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 :=...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.