|
Hello,
At System.Windows.Forms.Label BackgroundColor Property, its possible to set transparent I think.
All the best,
Martin
|
|
|
|
|
Oops,
Sorry, does not work on PictureBox.
Martin
|
|
|
|
|
Hello Again,
You could use a Panel with his Background Image Property, and set the Label BackgroundColor to Transparent.
I tried it.
All the best,
Martin
|
|
|
|
|
If i use panel, then how do i display text on the panel. There is no 'Text' property associated with the panel ?
Imtiaz
|
|
|
|
|
Use label or Use Group box instead
|
|
|
|
|
No, but what I meant, that you place your label over the panel.
In this case, the transparence of the Label will work!
All the best,
Martin
|
|
|
|
|
Set the opacity property of the lable to 0 .This will make the label transperent and will give u the required effect
|
|
|
|
|
Opcity property is related to Form and not controls. Plz correct me if i am worng.
Imtiaz
|
|
|
|
|
Unfortunately, there's no built-in way to do this.
You'll have to build your own control to get real transparency.
One way to do this can be found here[^]
or here[^]
Regards,
mav
--
Black holes are the places where god divided by 0...
-- modified at 14:16 Wednesday 19th July, 2006
|
|
|
|
|
Hello friends
Could you please tell me How to access Outlook address book from C#.NET
Yogesh_T
-- modified at 3:29 Wednesday 19th July, 2006
|
|
|
|
|
<br />
Outlook.ApplicationClass appOut = new ApplicationClass(); <br />
AddressLists addLst = appOut.Session.AddressLists;<br />
Use addLst object to browse thru the address List
|
|
|
|
|
Hello
Please tell me the exact procedure to do this.
Thanks for your reply
Yogesh_T
|
|
|
|
|
Add reference to Microsoft Outlok COM component
and use the namespace Outlook.
and use the above to get the addressList
beyond I also don't know ....You have to dig it out.
|
|
|
|
|
Can Anyone Tell How To Increase Crystal Reports Performance
I'm Using Crystal Report Viewer And Web Services To Retrieve Data.
Ala'a Al Atrash
Special Systems Co.
Culture St. - Amman - Jordan
Software Developer
Work Tel:- +962 6 5664221 Ext. 140
Home Tel:- +962 6 4752702
Mobile Tel:- +962 7 96700423
|
|
|
|
|
Could be many different things. Look at your queries and fine tune them if possible. Also look at network performance as well.
Hope this is a start
|
|
|
|
|
hi,
i had tuned my queries, and it worked very good,
thank u very much.
Ala'a Al Atrash
Special Systems Co.
Culture St. - Amman - Jordan
Software Developer
Work Tel:- +962 6 5664221 Ext. 140
Home Tel:- +962 6 4752702
Mobile Tel:- +962 7 96700423
|
|
|
|
|
Respectfully,
First I have added a UserControl, then i have added a panel on it and on the panel i have added a combobox. But on run, when i want to select an item from combobox , it autohide the list. I can select the item by typing. When i click the dropdown button it opens the list. but when i try to select an item. The list get collapsed. Plz solve the Problem.
Thanks.
|
|
|
|
|
Hello,
Tried it out and worked fine.
Are you shure, that the ComboBox is in the Container of the panel?
All the Best,
MArtin
|
|
|
|
|
Yes i checked it again.
First i have made a usercontrol, then i make a panel on it, then i put all the controls on that.
But these all controls (Complete user control), i am adding at runtime on a Autocad Pallate.
Problem still exist?
Thanks,
|
|
|
|
|
I got this error when I ran cmd.ExecuteNonQuery(). But if I run the cmd directly in the database, it doesn't have any problem.
Can anyone know what causes it?
|
|
|
|
|
|
i have two tables one is class table,student table if i select a class from class table all the students presnt in that class should be added to list box if i select two classes all the students present in the two classes will have to come into the list box but i am getting only the last one of the class
can anybody help me please?
sivamyneni
|
|
|
|
|
Hi sivamyneni,
I think when you select one class , the result come in the list box. but when you select the second class , the previos result disappear and the new one shows. I am not sure what method you are using for adding in the list box. Before adding items in the list box , be sure, you should not clear the list. You have to append or insert into the list.
If problem not solved, than show the code to me.
|
|
|
|
|
Hi Aslam Bari,
I just want to find out how to append the items into the list
this is the code i used in my project
//
foreach(DataGridItem di in DataGrid1.Items)
{
CheckBox check=(CheckBox)(di.Cells[0].FindControl("checkbox"));
if(check.Checked==true)
{
// here retrieving the items from database to the dataset after that just wrote this code
Dataset dsItem=new DataSet();
ListBox1.DataSource=dsItem;
ListBox1.DataBind();
ListBox1.DataTextField=dsItem.Tables[0].Columns["ThumbNail"].ToString();
Thanks in advance
sivamyneni
|
|
|
|
|
Dear Sivamyneni,
Currently i don't know the problem with DataSource, i think at a time we can add only one datasource. I also couldn't find the listbox.DataBind() and listbox.DataTextField. What version of .NET u r using.
By the Way an alternate way i am giving here and try it..
//Connection to database
OdbcConnection con = new OdbcConnection("DRIVER={MySQL ODBC 3.51 Driver};server=localhost;database=mysql;uid=root;pwd=mysql");
con.Open();
//Get data from user table
OdbcDataAdapter ad = new OdbcDataAdapter("select * from user", con);
DataSet set = new DataSet();
ad.Fill(set);
//Here is the code to add all the items of the first column of the user table.
foreach (DataRow row in set.Tables[0].Rows)
{
listBox1.Items.Add(row[set.Tables[0].Columns[0]]);
}
////ON OTHER EVENT LIKE CHECKBOX OR BUTTON CLICK REPEAT THIS.
OdbcDataAdapter ad = new OdbcDataAdapter("select * from BILL", con);
DataSet set = new DataSet();
ad.Fill(set);
//Here is the code to add all the items of the first column of the bill table.
foreach (DataRow row in set.Tables[0].Rows)
{
listBox1.Items.Add(row[set.Tables[0].Columns[0]]);
}
|
|
|
|