I am trying to get two columns in TGridPanel, where user will be able to drag , drop and move around GUI components(TImage) at runtime.
I can drag and drop, however TGridPanel doesn't show scrollbars when I drop a lot of elements. It starts to shrink the ones already init. To have scrollbars I added this grid panel on TScrollBar and changed "Align" property to "alClient".
My plan is to save the final setting of components in a 2D array. My plan is to have at least one component per row to save the row of TGridPanel.
I have a Main Form which opens up an Archive Form. I'm sending data over from another computer to which shows up on the Main Form right away if the Main Form is open, but if the Archive Form is open I have to close the Form and reopen it for the data to show up. What I was wondering is their away I can get the data to show up on the Archive Form without closing and reopening the Form. Can I do a Refresh, Invalidate or anything like that?
As stated in the subject, I'm using XE8 with Castalia. Whenever I'm writing code, I get the message "Castalia exceeded its allowed memory threshold for parse trees" repeatedly in the Messages log. Does anyone know what causes this, or how to go about fixing it?
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
I have the sample project, but there is no option available to include attachment. so i explain my project here.
I created server application with two units
On TDSServerModule1 i dropped TSQLConnection and added parameters to connect to SQL Server database "master" (using MSSQL driver)
On mainform I dropped TDSServer, TDSTCPServerTransport, TDSServerClass and connected them with TDSServer.
I added the following code in the OnGetClass event of the TDSServerClass
PersistentClass := TDSServerModule1;
Next I created client application with Only one form
i dropped TSQLConnection connected to server application (using DataSnap driver)
i right clicked and generated 'Client Classes' using 'Generate Datasnap Client Classes' menu
i dropped TDSProviderConnection component and connected to TSQLConnection
i dropped TSqlQuery component and connected to TSQLConnection. I write the following query
Select * from sysdatabases
I want to select all rows from table "sysdatabases" which is exist in master database.
When i execute the Open command, it is throwing the following error
"Remote error: Dbx.SQL is an unrecognized command type."
My objective is to create multi tier data snap application. But i want to add TSqlQuery in the client application and to execute select, insert, update, and delete commands directly from the client application.
Usually we put tsqlconnection (dbconnection) and tsqlquery on the server side, and clientdataset on the client side.
But I want to use database connection on the server side, but TSqlQuery on the client side of the datasnap multi tier application.
The reason behind is i created one sample application using TMS workflow studio component, when I use that component in the multi tier datasnap application it throws the same error. It seems that they are executing the query on the client side.
So I want to make sure the possibility to use TSQLQuery in the client application of the multi tier datasnap application
Is there any way to send my sample project to you thru email. my email id is firstname.lastname@example.org
I am using FastReport VCL 5 to export PDF report file with Delphi source code.
FastReport VCL 5 has Compression function.
I want ask about this function as below:
When i use this function to compress report file, what will be compressed?
Exp: Compress font, image or what?