Questions tagged [delphi-2006]

Delphi 2006 is a specific version of Delphi. Use this tag for issues related specifically to development in Delphi 2006.

Delphi 2006 is a specific version of Delphi. It was released in December 2005.

Delphi 2006 codename is DeXter.

Delphi 2006 was preceded by Delphi 2005 and succeeded by Delphi 2007. As of August 2009 it was no longer officially supported by Embarcadero.

262 questions
0
votes
1 answer

Delphi 2006 proper use of END

Look at this code: if Poruka(BM_UWARN, GetMsg('Da li zaista želite da odbijete nalog?')) = mrOk then begin tmps := TRN.ss; TrnPom.ss := TRN.ss; RadnikOdbio.l := AdresniSlog.Rabotnik; if Zakljucaj(1011, tmps, 3) then begin …
user8675722
0
votes
2 answers

Local form in delphi 2006

I want to create form as a local variable in a procedure and then open it in a design mode so I can add components to it. Is this possible or do I have to create whole new unit to do this?
user8675722
0
votes
1 answer

TPageControl component in Delphi 2006

Is there an option to use same components (check boxes, TEdits, etc.) on different tabs on TPageControl component?
user8675722
0
votes
1 answer

Remove xsi:nil attibute using IXMLDOMDOCUMENT in Delphi

I have an xml document that contains many xml nodes. The document has xsi:nil="true" attributes. If I set values on these nodes, the nil attribute remains and it becomes invalid against my xsd. Question: How do I remove the xsi:nil attributes using…
JamesW
  • 849
  • 2
  • 14
  • 27
0
votes
1 answer

How do you do a copy and paste in the Type Library Editor in Delphi?

Help I am busy making changes to a type library in a Datasnap project. How do I copy and paste text with in the type library editor ? P.s. I am using BDS2006 EDIT 1 Is there a way to chnage the Type Library without using the TLB Editor ? EDIT 2 Is…
Charles Faiga
  • 11,665
  • 25
  • 102
  • 139
0
votes
1 answer

Pass WideString to raise an exception

How I can pass unicode string to exception raise messages and catch it: try if some <> some2 then raise Exception.Create('Cannot connect to Sever'); ... ... except on E: Exception do mError(E.Message); exit; end; The idea is…
Ernist Isabekov
  • 1,205
  • 13
  • 20
0
votes
3 answers

Can a parameter safely be removed from a Delphi TADOCommand at runtime

My Delphi 2006 TADOCommand has it's CommandText (including parameters), Prepared (True), ParamCheck (True) properties all set at design time. Is there a way for me to go about deleting some of it's Parameters at run time, without…
0
votes
2 answers

Problem with size of a Toolbar2000 with an embedded Frame

I have Jordan Russel's Toolbar2000 toolbars that I create at runtime with an embedded TFrame and dock on the application main form. This frame has an embedded pane that in turn contains other panels and various controls. So the structure…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
0
votes
1 answer

Delphi application hanging up

This Delphi 2006 application has run successfully for several years. I have narrowed it hanging up to some point before it gets to the "initialize" in the DPR file so its hanging up before any written code gets executed. I press the "Run" icon and…
0
votes
1 answer

Working with mili second DateTime with culture specific format in Delphi

I am having below code which is working fine on my system as my date time format of the system is dd-mm-yyyy, but below code does not work where date time format of system is dd/mm/yyyy. try fmt.LongDateFormat:='dd-mm-yyyy'; …
Aayushi
  • 817
  • 1
  • 7
  • 9
0
votes
1 answer

class operator with result of Extended type does not work in BDS2006?

If I try to compile the following code I got an error message "E2010 Incompatible types: 'Extended' and 'TMyRec'" for the last line (E := R): type TMyRec = record class operator Implicit(Rec: TMyRec) : Integer; class operator Implicit(Rec:…
digi
  • 3
  • 2
0
votes
0 answers

_Document.SaveAs prompts unexpected

When trying to save a document using the example code below it should save the document on the given location. If the file already exists, it will throw an exception. So far so good. But in a rare case the .SaveAs method blocks, and it will open the…
renevondecafe
  • 129
  • 1
  • 7
0
votes
1 answer

Delphi: 'GoTo' command does not compile inside 'with'

When compiling a piece of code like this: 01 function MyGotoDecision: boolean; 02 begin 03 {code ...} 04 end; 05 06 procedure TForm1.Button1Click(Sender: TObject); 07 label MyLabel; 08 begin 09 with Application do 10 begin 11 …
aguena
  • 103
  • 2
  • 7
0
votes
1 answer

Delphi: Adding Combobox Dropdown to TADVStringGrid

I have a form that has a TADVStringGrid. I am trying to add a combobox to some rows in a specific column (2); however, I can't get the data to show on the dropdown. I added the HasComboBox event, I set the DirectComboDrop, and it still did not show…
Denes
  • 47
  • 3
  • 11
0
votes
1 answer

Delphi TMS Grids Moving to Next Column After User Select Value in Dropdown

I have a Delphi 2006 application that has TAdvStringGrid. There is one column in the Grid where I have to display a dropdownbox. It worked fine but I am not able to move the cursor to the next column in the grid. The column that I want to move to is…
Denes
  • 47
  • 3
  • 11