The SQL Server use of the keyword CASE is different from what one would excpect from Pascal, C, or other prog languages. It is a conditional function, and not a "control of flow" statement. "IF .. ELSE .." will have to be usd for what you want to do.
Ludek
How about saving with:
WriteComponentResFile('MyTreeView.txt', Treeview1);
and loading with:
ReadComponentResFile('MyTreeView.dfm', Treeview1);
Replace 'MyTreeView.dfm' with the filename of your choice. In Delphi 5, the data seems to be saved as text. I know erlier versions saved it in a...
If you are using Delphi 5, set the the ListView's property RightClickSelects := True. I can not remember if this works in earlier versions. If not, you will have to create the following event:
procedure TForm1.TreeView1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y...
I am building a control that contains two TTreeView components next to each other. I need the LHS tree view to NEVER show it's vertical scroll bar, since I control its scrolling from the RHS one. Is there an easy way to do this?
I have written a stored procedure that uses sp_OACreate, sp_OAGetProperty etc system stored procedures to create DTS packages, and set some of their parameters. How can I get the DTS package, when it executes, to join the same transaction that my calling stored procedure has started? I.A.W. if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.