Telerik Forums
UI for WinForms Forum
2 answers
139 views
I have create the RadRibbonBarGroup in RadRibbonBar. But I want to change the font color in RadRibbonBarGroup, I change the ForeColor to white. It doesn't change the color. It always shows gray color. Please tell how to change the font 'test' color, thanks very much.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Jul 2023
1 answer
131 views

Hello!

The ShapedForm seems to suffer from a few problems:

1. The Shape doesn't honor the Bottom/Top Left/Right Rounded properties at all. No matter what those properties are set to, I always get rounded corners. The attached screenshot should have the top left and bottom left corner rounded only, but shows all corners rounded.

2. When using a border, it is cut off on the right top and right bottom corner (see screenshots). Depending on the border width, it is missing completely.

3. Even when the title bar is removed, the dialog can be moved by the mouse. While this is a handy feature, it also means that double-clicking on the top area of the shaped form will maximize the form and that's definitively not wanted.

 

Can we expect to have those bugs fixed in the near future since they severely limit the usability of this shaped form.
It simply doesn't look good that way and I'd rather resort to have a form background image with transparency key.

 

Martin

 

Dinko | Tech Support Engineer
Telerik team
 answered on 17 Nov 2022
1 answer
102 views

Hi.

 

I wonder if it is possible to put the video in a shape, like a circle. I also want to know if it is possible to hide all the controls at the bottom.?

 

 

 

Regards

 

Dinko | Tech Support Engineer
Telerik team
 answered on 22 Dec 2021
1 answer
145 views

Hi,

 

Im trying to customize a ShapeForm, but I dont see on the VisualStyleBuilder.

 Is there ShapeForm on VisualStyleBuilder?

 

Thank you!

Dimitar
Telerik team
 answered on 17 Oct 2018
1 answer
89 views

Hello,

 

I am using a ShapedForm (without TitleBar control) instead of normal Form, but now it seems like my default Form events like keypress, keydown etc. are not working anymore.

How can I get these to work? I want the form to close when a user presses Escape. And possibly Minimize form when a user presses e.g. F10.

Do I need a Titlebar? If so, how can I make this titlebar Blue instead of grey? Plus some caption on it as well of course.

 

 

Dimitar
Telerik team
 answered on 06 Dec 2017
1 answer
123 views
Tried In both Windows 7 and Windows 10.  Set "Auto Hide Taskbar" in windows, so that the bottom task bar slides up when the mouse is ran over the bottom of the screen.  Using regular apps in full screen, this still is functional.  Using a Telerik ShapedForm (Winforms) in full screen prevents the task bar from sliding up.  Has anyone experienced this, or have a solution?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Nov 2015
3 answers
147 views

Hi,

I am trying to create custom shaped form but I do not see the difference:

 

public partial class FormToolTipError : Telerik.WinControls.UI.ShapedForm
{
    public FormToolTipError()
    {
        InitializeComponent();
         
        Telerik.WinControls.CustomShape customShape = new Telerik.WinControls.CustomShape();
        customShape.AsString = "20,20,200,100:20,20,False,0,0,0,0,0:220,20,False,0,0,0,0,0:220,120,False,0,0,0,0,0:20,120,False,0,0,0,0,0:";
        this.Shape = customShape;
 
        ...

 

 

Dimitar
Telerik team
 answered on 22 Oct 2015
4 answers
552 views
I've already read this post:  http://www.telerik.com/community/forums/winforms/forms-and-dialogs/transparent-background-for-rad-shapedform.aspx   It is close, but not quite what I need.

How do we use a PNG file with tranparency to make a truly transparent form?  Any time I try this, truly empty areas in the PNG work fine, but partially transparent areas (like shadows) are underlayed with the "transparent" color.

I've attached three images:
- Screenshot of the intended effect.  (The welcome/splash screen from Visual Studio.)
- Screenshot of setting the shaped form control background and transparent color to blue with my transparent PNG as the background.
- The form background image I am using to test.

Any help you can offer is greatly appreciated.

Thanks,

- Brad
Brad
Top achievements
Rank 1
 answered on 12 Nov 2012
17 answers
314 views
Hi,

This may seem a pretty dumb question to ask, but how do you restrict a maximized ShapedForm so that it only occupies the screen space?

Eg, when it's maximised, it's about 10pixels too large on every size, and the close button is clipped.  I added 10px of padding, but it looks stupid when the form is in a normal state.  Ideally, I am looking for a form which behaves like a normal form, but has rounded edges.

I'm running on Vista 64-bit w/ multiple monitors - maybe this is platform specific?  The sample applications also experience this issue.

All suggestions are welcome...

Regards,


Matt
Boryana
Telerik team
 answered on 06 Aug 2012
1 answer
75 views
Hey all,

I have a shaped form that I'm opening from within my main form.   I'd like the form to automatically be opaque, when the mouse leaves the bounds of the form so that the user can look under it.  Here's the simple code so far...

public myShapedForm()
{
    InitializeComponent();
    this.Opacity = .5;
}
 
private void myShapedForm_MouseEnter(object sender, EventArgs e)
{
    this.Opacity = 1;
}
 
private void myShapedForm_MouseLeave(object sender, EventArgs e)
{
    this.Opacity = .5;
}

I'm happy to see that setting the opacity of the form also sets the opaticy of the child controls, but....

The only issue I'm finding is that the MouseEnter only works if I'm hovering directly on the form with no other controls in the way.  (ie. If I have a GroupBox on the form, it doesn't work, nor does it work if I hover over the titlebar.

Is there a different Event that I should be using or, should I be looking for something like the "NotifyParentOnMouseInput" property that I've seen on some Rad Controls, but I haven't seen those for the controls I'm using.  (RadGroupBox, RadTextBox, etc.)

Thanks for your help!!

Rob.
Nikolay
Telerik team
 answered on 27 Jun 2012
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?