delphi-2006

Sharing a common memory area in Delphi between PCs

I have a Delphi 2006 app that gathers data and displays it as a summary of many channels, one channel per row on a TDrawGrid. I have the same app running on various other PCs on the network, but these other PC's are slaves - they don't gather data but merely provide a remote display of the summary. At present, the slaves just show a mi...

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 is: TTBDock TTBToolbar TFrame (align=alNone, Autosize=true) TPanel 1 (align=a...

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 having to change the CommandText to accomodate these changes. This is desireable in the...

I can't get Delphi Context-sensitive help working in open and save dialogs

I have a Delphi 2006 app with a CHM help file. It all works OK except that I cannot get any help to connect to the "Help" button on the TOpenDialog and TSaveDialog. A simple program demonstrating this is shown below. Clicking button 2 opens the help file and displays the correct page. Clicking button 1 opens the dialog, but clicking ...

Reading and writing into the XML file

Hi, I need to work on XML files using Delphi. I want to present the xml data in a DBGrid to the user and save the changes done by user in the XML file. For example in the below xml (which was presented to the user), if user changed City of ABC under client and added a new customer with NickName as "AAA" those changes should be reflec...

Disable Change_Log in XML file while saving through ClientDataSet

Hi, This was continuation to my previous question. I dont want PARAMS CHANGE_LOG data in my XML file while saving the data in ClientDataSet using ClientDataSet1.SaveToFile() method. My code looks like this: ClientDataSet1.Insert; ClientDataSet1.FieldByName('Name').AsString:= 'AAA'; ClientDataSet1.Append; ClientDataSet1.SaveToFile('c...

Problem in generating complex types while using XML Data Binding

Hi, I am using XML Data Mapping and having a problem with generating complex types while using it. If i am having an XML like below its working fine <?xml version="1.0" standalone="yes" ?> <Sample> <connection> <item Name="ABC">123</item> <item Name="XYZ">123</item> <item Name="MNO">123</item> </...