Hello!
In my desktop application I´m trying to implement telerik winform controls.
when I have used radbutton I´ve got a problem. I´m not able to click on the buttons.
This is the code I´ve used fot a button which is not clickable in my case:
The commented lines are because radbuttons don´t recognize those properties. They were used before with windows form controls.
do you know why button can´t be clickable?
Than you in advance.
In my desktop application I´m trying to implement telerik winform controls.
when I have used radbutton I´ve got a problem. I´m not able to click on the buttons.
This is the code I´ve used fot a button which is not clickable in my case:
//this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
this.btnNew.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(119)))), ((int)(((byte)(169))))); |
this.btnNew.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnNuevo.BackgroundImage"))); |
//this.btnNew.FlatAppearance.BorderColor = System.Drawing.Color.White; |
//this.btnNew.FlatStyle = System.Windows.Forms.FlatStyle.Popup; |
this.btnNew.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); |
this.btnNew.ForeColor = System.Drawing.Color.White; |
this.btnNew.ImageAlignment = System.Drawing.ContentAlignment.MiddleLeft; |
this.btnNew.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
this.btnNew.Location = new System.Drawing.Point(512, 417); |
this.btnNew.Margin = new System.Windows.Forms.Padding(0); |
this.btnNew.Name = "btnNuevo"; |
this.btnNew.Size = new System.Drawing.Size(90, 35); |
this.btnNew.TabIndex = 42; |
this.btnNew.Text = "Nuevo"; |
this.btnNew.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; |
//this.btnNew.UseVisualStyleBackColor = false; |
The commented lines are because radbuttons don´t recognize those properties. They were used before with windows form controls.
do you know why button can´t be clickable?
Than you in advance.