Questions tagged [delphi-2010]

Delphi 2010 is a specific version of Delphi. Delphi 2010 was released in August 2009, and is available as a standalone product or as part of RAD Studio 2010.

Delphi 2010 is a specific version of Delphi.

Delphi 2010 was released in August 2009, and is available as a standalone product or as part of RAD Studio 2010.

Delphi 2010 codename is Weaver.

Some of the major features of the Delphi 2010 release include:

  • The introduction of a new, rich RTTI (reflection) API that far exceeds the level of detail available in previous Delphi editions.
  • Full Windows 7 support at the compiler and standard library level.
  • Built-in VCL-level support for touch, multitouch and gesture input, even on earlier Windows versions without OS-level touch support.

Delphi 2010 was preceded by Delphi 2009 and succeeded by Delphi XE.

1635 questions
0
votes
1 answer

Delphi 2010 Error Insight incorrectly flags "Undeclared Identifier"

In D2010, Error Insight is incorrectly underlining in red types like "TOpenDialog" (even though my unit and project's uses both include Dialogs). Also, in my method TMyFrame.Foo, it fails the same way by flagging a reference to a VCL component in…
RobertFrank
  • 7,332
  • 11
  • 53
  • 99
0
votes
0 answers

How to prevent keyboard input without Enter from changing TComboBox selection in Delphi?

A TComboBox behaves differently for mouse and keyboard input. If an item is highlighted using the mouse, it only becomes selected when clicked. However, when highlighted using the keyboard, using the arrow keys or by entering the first letter of the…
Thijs van Dien
  • 6,516
  • 1
  • 29
  • 48
0
votes
4 answers

Surprising error in a Delphi program

I am using this unit in a Delphi 2010 application to tell me what Active Directory Groups a user is a member of. I created a brand-new test vcl forms application, added the unit from that link, and made a little form with an edit box for the…
JosephStyons
  • 57,317
  • 63
  • 160
  • 234
0
votes
2 answers

Getting 400 response when using Delphi to get Microsoft Translation

I had registered my Application at Azure, received a secret and successfully got an access token using TIdHTTP with my Delphi 2010: paramsList :=…
asafadd
  • 265
  • 1
  • 3
  • 15
0
votes
1 answer

Accesing Values From One Form on Another

Im trying to build in a language switch into one of my programs. Where the user selects a language and in runtime the app gets translated. I sort of got this working in a small test project. BUT only when the forms are auto created, which i dont…
0
votes
1 answer

sdate Parameter has no default value

I keep on getting that my sdate got no Value. procedure TForm1.Button12Click(Sender: TObject); var sdate : string; begin sDate := inputbox('Date', 'Enter Date', ''); CDQuery.Active := False; CDQuery.SQL.Text := 'Select Ownername, DateOfBirth…
0
votes
1 answer

Delphi - Change JavaScript from a loaded page in TWebBrowser

How can I change JavaScript from a page already loaded in a TWebBrowser component? I tried something like this: var ElElem: IHTMLElement; begin newJSfunction := 'function onclick(){alert("ok");}'; ElElem := GetButtonFromBrowser; …
user3232681
  • 11
  • 1
  • 5
0
votes
1 answer

Zoom to full screen?

How to activate/use this feature in D2010 ?!? I have checked Zoom to full screen in Tools > Option > Editor Option > Display clicked Ok button but nothing happened. Ok, i said to myself, let's see what the help has to say about this. I pressed F1…
Alin Sfetcu
  • 542
  • 6
  • 16
0
votes
2 answers

Backgroundworking Thread Delphi 2010

Can someone tell me how to create a thread in Delphi 2010 which will be "standby" for data to be calculated (not to terminate after its calculation task)? I created a program which takes data from an external source via Indy UDPServer. The…
Dim
  • 41
  • 4
0
votes
1 answer

Delphi D2010 Component Palette icons all wrong

I have just built a new system. (Win 8.1, 64 bit, D2010). Install went fine... adding some various VCLs. For some reason, in the Delphi Component Palette, all component glyphs PAST the 'Gestures' palette are all defaulting to the 'generic' icon. …
user1009073
  • 3,160
  • 7
  • 40
  • 82
0
votes
1 answer

How to properly Sign XML in Delphi

I'm trying to sign XML in Delphi with certificate, but all I'm getting are some unrecognized characters. I'm using this function var xmlData, signature: PByte; data: array[0..0] of PByte; msgCert: array[0..0] of PCCERT_CONTEXT; …
Tomek
  • 557
  • 2
  • 7
  • 24
0
votes
2 answers

Set the name of a thread created with SetTimer() API

I create a Windows timer using the following FHandle := SetTimer(0, 0, 1000, TFNTimerProc(@TMyClass.MyMethod)); Is this thread shown in the Delphi "Threads" window. If Yes how I can get this Thread ID?
Gad D Lord
  • 6,620
  • 12
  • 60
  • 106
0
votes
1 answer

Delphi 2010 - Modular application, how to get class properties in the host app?

i did some tests about modular applications mechanism . the base thing i tried is load packages at run time and playing with classes inside it . my test was around building form in my package and load form "TCustOrder" from my host application the…
Realbitt
  • 388
  • 6
  • 18
0
votes
0 answers

Retrieving blob variable from firemonkey database and convert into bitmap in delphi

This is my code; I have a table that contains blob variables and I need to retrieve it and add to a image. this is my code and it not working procedure TForm1.Button1Click(Sender: TObject); var mybitmap, newBitmap: TBitmap; str, query:…
Azad
  • 5,144
  • 4
  • 28
  • 56
0
votes
1 answer

Using DBCTRL Grid

I am using TDBCtrl Grid, and I can only see one record to see next record I have to scroll however I have set RowCount=5. Also, my dbgridCTRL can only allow TDBEdit or TEdit controls. I want to display static text also. Can you please suggest How…
user2809635
  • 139
  • 1
  • 3
  • 12