jvcl

Is there a way to drop down a TJvComboEdit's AutoComplete list when the button is pressed?

做~自己de王妃 提交于 2019-12-13 02:12:32
问题 I have got a form with a TJvComboEdit control (from Jedi Visual Components library, jvcl) on it. This control has got an AutoCompleteList and if I set AutoCompleteOptions to acoUpDownKeyDropsList I can at runtime show this list by pressing the up or down key. So far, that's fine, but in addition to that I want the control's button to also show that list (like a TComboBox button does) but I can not find any way to do that. The showing of the list seems to be done by some internal IAutoComplete

Delphi 7, XML handling with Unicode support

给你一囗甜甜゛ 提交于 2019-12-10 12:25:01
问题 I'm developing in Delphi 7 (personal). I used to use JvSimpleXML for XML handling, but it doesn't seem to handle WideStrings (or does it?!). My whole project uses TntWide... & SpTBXLib for interface so it does handle Unicode very well, I need now to store some settings in files ... So I'm looking for solution or (free) replacement of JvSimpleXML ... any ideas? Thanks in advance michal 回答1: Checkout OmniXML. I have started using it instead of msxml. It also gives you the 'FluentXMLBuilder'

Numeric edit control with flat button inside and no calculator

折月煮酒 提交于 2019-12-08 06:09:49
问题 I'm writing a C++ project with RAD Studio, but this also applies to Delphi. I need an edit control where user can only enter floats (2 decimal places) and can restore the original value (taken from a variable, not important here) clilcking on a button (actullay an icon) inside the edit control itself. This is what I've done, using a TJvCalcEdit from JEDI library. Control definition: object Sconto1: TJvCalcEdit [non-important attributes...] ButtonFlat = True Glyph.Data = {

F2051 Unit JclUnitVersioning was compiled with a different version of System.Contnrs.TObjectList.Remove

一曲冷凌霜 提交于 2019-12-07 11:32:23
I'm migrating a Delphi 2 project to RAD Studio XE2. When I try to compile I get [DCC Fatal Error] MyUnit.pas(9): F2051 Unit JclUnitVersioning was compiled with a different version of System.Contnrs.TObjectList.Remove at the following row: unit MyUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, DBTables, TB97, ExtCtrls, Grids, DBGrids, Vcl.Mask, JvExMask, Vcl.DBLookup, JvToolEdit, {<-- error here} TB97Ctls; {...} I tried uninstalling and reinstalling RAD Studio, JCL and JVCL, but nothing changes. Update Was using the binary Jedi

Numeric edit control with flat button inside and no calculator

雨燕双飞 提交于 2019-12-06 22:38:29
I'm writing a C++ project with RAD Studio, but this also applies to Delphi. I need an edit control where user can only enter floats (2 decimal places) and can restore the original value (taken from a variable, not important here) clilcking on a button (actullay an icon) inside the edit control itself. This is what I've done, using a TJvCalcEdit from JEDI library. Control definition: object Sconto1: TJvCalcEdit [non-important attributes...] ButtonFlat = True Glyph.Data = { D6020000424DD6020000000000003600000028000000100000000E0000000100

How to implement a callback method within DLL (Delphi / TJVPluginManager + TJvPlugin)

早过忘川 提交于 2019-12-06 15:38:31
I'm building an application working with plugins. I'm using the excellent JVCL plugin framework. I first started to use package plugin. It worked like a charm but had a big drawback : the needs to give runtimes bpl (23Mo). So I switch to DLL plugin. I need to call a method (procedure having 3 parametes) from hostapplication but I don't know how to do it. OBones explained in the Jedi newgroup to use callback functions but I have no clue on how to achieve this. Can someone kindly explain me or better, send me an example? You can take the JVCL 1SimplePlugin demo and update it. Thank in in advance