How to make the Developer Express popup menus semitransparent like in Firefox?
Hello, I am using DevExpress Build 47. Is there a way to make the context(aka popup) menus semi transparent? ...
Hello, I am using DevExpress Build 47. Is there a way to make the context(aka popup) menus semi transparent? ...
Hello. Can someone give me some indications about how to log the web pages accessed(using any web browser)? Should I make a global proxy.... hook the network....? All that I need to log is the page address, not the info contained in it. I am using Delphi. Thank you I am looking, if is possible, for a solution without using Winpcap Ed...
I would like to alter the Show default behaviour of a TForm's descendant (for eg. instead of showing itself on the screen, I would like to place it on a page control as a new tabsheet). How to achive that ? I'd like to show it using a standard method (call Show method or set Visible property) so I tried to override the SetVisible method....
have a function, simplified below, that is exported from a BPL function DoA(amount: currency; var Info: string): Currency; stdcall; begin result := amount * 19; Info:= 'Some Text about the result'; end; its loaded from the main program with LoadPackage, and GetProcAddress which works fine for the other functions. but this one br...
I have to create a DLL which is used by a VB6 application. This DLL has to provide several functions, some of them must return strings. This is the VB6 declaration: Declare Function MyProc Lib "mylib.dll" (ByVal Param As String) As String And this the Delphi implementation stub in mylib.dll: function MyProc(AParam: PChar): PChar; st...
I have a form with a lot of components overlapping each other in a Delphi 2006 application. Sometimes when viewing the form designer the form gets redesigned with components moving around. What may cause this and how do I stop it? It seems to happen when part of the form is covered with some part of Delphi itself, like the message view....
I have The following code for now. type TByte4 = array[0..3] of Byte; // 32-bit function CardinalToBytes(const Data: Cardinal): TByte4; begin Result[0] := (Data shr 24) and 255; Result[1] := (Data shr 16) and 255; Result[2] := (Data shr 8) and 255; Result[3] := Data and 255; end; function BytesToCardinal(const Data: TByte4):...
I have a class in a unit. Usually, when I changed the algorithm of its methods, I have to recompile it and deliver the patch as a whole. I think to create the instance of the class using DLL. After searching in delphi.about.com, I found that instead of using DLL, I can use BPL. It is a DLL for Delphi. The problem is almost all examples I...
I know that there are many Delphi database related questions available, but I'm considering only these two databases. I will need to query around 100.000 records. From your experience which one is faster: as embedded as C/S Thanks. ...
I have consistently had IDE problems in Delphi/C++Builder for years, with every version. I usually just reboot, recompile, etc. and move on. However, I keep seeing others say that the IDE is rock solid. I've read many people say that most IDE problems are a result of custom component problems. We have several of our own custom compon...
How can I monitor or visualize memory fragmentation of a delphi application? ...
What is the equivalent of SetLength using Delphi Prism? I'm trying to size an integer array. var listIndexes: array of integer; begin setLength(listIndexes,5); // doesn't work end; ...
Just wondering if there are any gotchas to be wary of here. We have a legacy D7 app that we developed several years ago for a client, which uses IBXpress to talk to the open source Interbase 6 build. We're having a number of issues with that platform these days (very slow to connect/start-up on new hardware being the chief one) and the...
Now that I have decided upon Firebird, with the help of StackOverflow :), which driver do you recommend? Delphi's DBX Another vendor's DBX Some native driver Thanks. ...
The following line of code generates the compile time error (PE19) There is no overloaded method "get_item" with 0 parameters. Any idea on how to access the data in the datarow using Delphi Prism? indexValue:=dtIndexValues.Rows[1].Item('IndexID'); ...
If 48x48 or 64x64 icons are present in the Vista Shell how can you get the handle to display one in a TImage using SHGetFileInfo? I'd like to select an icon from a imagelist that represents a folder path and display a 48x48 or 64x64 icon in a Timage. // load the large system image for the current path into Image1 SHGetFileInfo( PChar( ...
I solved a problem, but I'm not sure why. I have a Delphi (2007) project which, when I opened it, gave a very long delay (i.e., 2 full minutes) before the IDE became responsive. I have other projects that are as large as this one, and there was no such delay. Finally I took a look inside the .DPROJ file, and found hundreds of entries ...
In Delphi, there is a function StrToInt() that converts a string to an integer value; there is also IntToStr(), which does the reverse. These functions doesn't appear to be part of Delphi Prism, and I can't find a reference to something that can do that. How can it be done? ...
Is there an open source and/or free statistics package or library for Delphi? I'm looking for something that can compile directly into the executable, so no DLL's. It needs to be compatible with Delphi 2009 and later (the Unicode versions). Hopefully there is something comprehensive available out there. By comparison, I am used to the a...
Here's the native (Delphi 7) function: function Foo(const PAnsiChar input) : PAnsiChar; stdcall; export; var s : string; begin s := SomeInternalMethod(input); Result := PAnsiChar(s); end; I need to call this from C#, but the name of the dll is not known at compile time - so I must use LoadLibrary to get to it. This is what ...