tms

Sorting DBAdvGrid with FIBDataSet by clicking on the column header

The only solution to the above problem i've found is to attach "ORDER BY" statement to the SQL-query of the FIBDataSet. Kind of strange because Grid has it's own quicksort() implementation but i can't get it work. Any ideas would be appreciated. ...

TTIWDBAdvWebGrid & controller paging, how to get ctDynEdit cells to also page?

My Delphi/Intraweb application uses a TMS TTIWDBAdvWebGrid associated with a dynamically created TClientDataSet via a TDatasource component. The idea is to allow a user to page through a large amount of records using the controller, and optionally enter values in the last DynEdit column. The paging works fine for all columns, aside from ...

C++ Builder - basic internet programming

I want to connect two PCs and have them communicate. Is there a nice component to do that? (preferably from TMS, or free), or do I just use standard C++ socket libraries? What about sending data? Should I invent a simple protocol? TLV (type/length/value), where T is the message type and .. you get the picture... ...

how to insert an integer value from a Grid to Sql table?

Hi, I have a AdvWebGrid where the 7th coloumn is DynEdit where user will enter the value.Now I have to take the enetered value and insert into the Sql tablel. For example i have 7 records in the grid the user will enter some comments for the first three record and save.Now i have to insert/update the first three comments in the table. ...

Overload DateTimePicker draw button to create a themed component

We have bought the TMS Component pack dto do a "facelift" on our apps. I am trying to create a descendant of TAdvDateTimePicker to get its border and buttons draw according to what I want. The border no problem - I made it for an TAdvEdit descendant and for the TAdvDateTimePicker was no problem (with the border). But the buttons, what p...

Display Artefacts when Switching Pages in TMS TAdvOfficePager

Hi, I'm using TAdvOfficePagercomponent from TMS Software. Inside each page I use a frame. When switching between pages I get some ugly display artefacts like this: The controls from the old page and the controls from the new page are both visible for some time. Is there anything I can do about this? Note: There's nothing happening ...

How can I accurately control the positioning of caption of a line from TMS Diagram Studio?

I'm using TMS Diagram Studio. When I add a line (TCustomDiagramLine), it's caption is always in horizontal form. My problem is that if I try to change the orientation of the line, it's caption overlaps itself causing unreadability. I tried setting the left and top property of the caption basing on the position of the center point of the ...