About you problem, why dont you create a second PageControl which will be above the first, won't be transparent and only the tab buttons will be visible. All you have to do is to connect the two pagecontrols so that when Active tabsheet is changed in the second tab, the first changes too.
It's...
I am wondering, will it work for any VCL component if I replace MyPageControl.Handle with the Component's Handle,because if was something similar to make a form transparent?
A Direct aproach(may be the same as Nordlund is telling, but I dont have Delphi now and can't see what the example is) is to :
create a TScrollPanel( not 100% sure about the name)
put inside a Image1:TImage with
In Object inspector
Image1.Top:=0;
Image1.left:=0;
Image1.AutoSize:=true;
Aslo...
A little Example for you
var dlgOpen:TOpenDialog;
..
if dlgOpen.Execute // CMDialog.Filename <> ""
then CopyFile(dlgOpen.FileName,..);
Tell us if you have any results
Regards,
Spent
I am using a little different approach.Here is the code:
object myFalse = false;
object myTrue = true;
object missingValue = Type.Missing;
string workname = @"C:\Inetpub\wwwroot\....\Doc.doc";
Word.ApplicationClass wApp2 = new Word.ApplicationClass();
// open document
object...
TLabelEdit can be found in the last tabs in Delphi 7 version.It is a combination TLabel above TEdit in one component.
About you problem, try to be more specific. I can not understand the exact problem you have.
Are you starting the application with the correct parameters /p as first param and a handle of a windows (not sure about argument2). If you dont set a param you wont go into
if SSMode = ssPreview then
begin
part.
My second idea is
procedure TScrn.FormActivate(Sender: TObject);
var...
string TargetString; // We replace here
string key; // replace what
string NewKey; // replace with this
We will find the position ot which the string is, remove the old and add a new one. But to be case sensitive we will search when both strings are in Lower
int pos...
On the dataGrid rightcick Property Builder->Columns and add hyperlink column
Then use the event ItemCommand to call you routine
Here is an example:
private void DataGrid1_ItemCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
if( e.CommandName == "Select")...
In most cases this is not an actual problem just an Ad-Aware or small virus. Scan your PC with the latest updates of your anti-virus program and try also some Ad-Aware removing tool.
Also in Control Panel-> Add Remove Programs, look for a program that you did not install.
It's not only an...
Hello group,
I am using Windows XP SP2 on a local network with quite a lot "unfriendly" users. Can you tell me how to set password on my Shared Folders(Printer is always shared, don't know how to "unshare" it) and on the Remote Desktop Connection. Or even better how can dissable RDC.
Thank you...
In other words you can do this
if (dsEmps.Tables.Count > 0)
{
foreach (DataRow row in dsEmps.Tables[0].Rows)
{
if (row["EmpID"].ToString() == "1" || row["EmpID"].ToString() == "2")
{
row["EmpID"] = row["Emp_Name"].ToString() + " - manager";
}
else...
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.