Telerik Forums
UI for WinForms Forum
4 answers
266 views

Hi, 

I currently develop an application on Windows 10 on a tactile device uses a RadPageView (explorerBar mode).

I want to use gesture to control the scroll, i set the enableGesture to Pan.

And in PanGesture event, i have the code :

   

If CType(CType(sender, RadPageView).GetChildAt(0).GetChildAt(3), Telerik.WinControls.UI.RadScrollBarElement).Visibility = ElementVisibility.Visible Then
          If CType(CType(sender, RadPageView).GetChildAt(0).GetChildAt(3), Telerik.WinControls.UI.RadScrollBarElement).Value + e.Offset.Height >= CType(sender, RadPageView).VerticalScroll.Minimum And _
             CType(CType(sender, RadPageView).GetChildAt(0).GetChildAt(3), Telerik.WinControls.UI.RadScrollBarElement).Value + e.Offset.Height <= CType(sender, RadPageView).VerticalScroll.Maximum Then
              CType(sender, RadPageView).VerticalScroll.Value = CType(CType(sender, RadPageView).GetChildAt(0).GetChildAt(3), Telerik.WinControls.UI.RadScrollBarElement).Value + e.Offset.Height
          End If
          CType(CType(sender, RadPageView).GetChildAt(0).GetChildAt(3), Telerik.WinControls.UI.RadScrollBarElement).Value += e.Offset.Height
      End If

Only the scroll bar moves, not the control

 Thanks for your help :)

NB : I'm using Q1-2015

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Oct 2020
1 answer
133 views

I've looked all over but haven't been able to find VisualStyleBuilder's source code. Is there any chance I could download the source code to use to build in-house tools with?  

 

Thanks - Jason

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Oct 2020
3 answers
192 views

Hello & Thanks ;

I have written a KidSafeBrowser in vs vb.net .vb , but it uses IE11 , which has too many limitations .

So I am looking into Chromium & others .

Does Telerik WinForms use Chromium ?

Thanks for your Help...

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Oct 2020
2 answers
241 views

I have a RadGridView with some groupings and summery rows.

is it possible to show summary values in group row (instead of adding extra row in top/bottom)? Please refer to attached image.
Note: i want do that in Excel output too.

Thanks so much

Pin
Top achievements
Rank 1
Iron
 answered on 03 Oct 2020
15 answers
380 views

Good day,
I merged document file using the following code which was successful.
Please how can I split it into two columns l ike in book form? Such that it will have two columns left and right with a vertical line at the center of each page (I.e. Divid each page into two columns with a vertical line at the center) without any third party dll file or assembly file.

Thank you.

Obi

Dim missing As Object = System.Type.Missing
Dim pageBreak As Object = Microsoft.Office.Interop.Word.WdBreakType.wdSectionBreakNextPage
Dim outputFile As Object = outputFilename
Dim wordApplication As Microsoft.Office.Interop.Word._Application = New Microsoft.Office.Interop.Word.Application()
Try
    Dim wordDocument As Microsoft.Office.Interop.Word.Document = wordApplication.Documents.Add(missing, missing, missing, missing)
    Dim selection As Microsoft.Office.Interop.Word.Selection = wordApplication.Selection
    Dim documentCount As Integer = filesToMerge.Length
    Dim breakStop As Integer = 0
    For Each file As String In filesToMerge
        breakStop += 1
        selection.InsertFile(file, missing, missing, missing, missing)

        If insertPageBreaks AndAlso breakStop <> documentCount Then
            selection.InsertBreak(pageBreak)
        End If
    Next
    wordDocument.SaveAs(outputFile, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing)
    wordDocument = Nothing
Catch ex As Exception
    Throw ex
Finally
    wordApplication.Quit(missing, missing, missing)
End Try

Lance | Senior Manager Technical Support
Telerik team
 answered on 03 Oct 2020
2 answers
176 views

The day of the week (S M T W T F) is squished and I can't for the life of me figure out how to adjust it (see attached image).

Any help would be greatly appreciated.  Thanks!

Memo
Top achievements
Rank 1
Iron
Veteran
 answered on 02 Oct 2020
4 answers
173 views

Hi,

The scroll buttons of the Page view, are small especially when we put an image( 100 px width ) in the Page view.

How can I make the scroll button occupy more height: all available height ?
Is it also possible to have the left scroll on the left side and the right scroll on the right side rather then both on same side next to each other ?

Please find attached an example: the current status is : only button circled in yellow can be clicked, but I want to have a button in the size of the red rectange.

Thanks in advance,

Fahmi

Fahmi
Top achievements
Rank 1
Veteran
 answered on 02 Oct 2020
14 answers
1.3K+ views

I'm trying to set the tooltiptext for a radListView item. I add the item to the listview as follows:
Dim myitem As New ListViewDataItem("Text to display")
myitem(1) = "Text to use for tooltip"
lvwAttach.Items.Add(myitem)

 

I 'm using TooTipTextNeeded to set the tooltip text:

Private Sub lvwAttach_ToolTipTextNeeded(sender As Object, e As ToolTipTextNeededEventArgs) Handles lvwAttach.ToolTipTextNeeded
        Dim item As SimpleListViewVisualItem = TryCast(sender, SimpleListViewVisualItem)
        If item IsNot Nothing Then
            e.ToolTipText = item.Text
        End If
    End Sub

This shows the item's text as the tooltip but I want to show the text from the 1st subitem. How do I get the text for the 1st subitem from the SimpleListViewVisualItem object?

Rahe
Top achievements
Rank 1
 answered on 02 Oct 2020
5 answers
262 views

I am using a RadDiagram control to place custom RadDiagramsShapes on it (C#). One of my requirements is to display a Form by double-clicking on a Shape. I followed the rationale of https://www.telerik.com/forums/assigning-raddiagramshape-mouseclick-eventhandler-programmatically, but I have not been capable of implementing the necessary event handler. I checked the documentation and looked for examples that could help me. However, I have not found anything useful to solve this issue.

I am just starting in winForms and C#, so I would be very grateful if you could help me with this problem.

Thank you.

Nadya | Tech Support Engineer
Telerik team
 answered on 02 Oct 2020
3 answers
388 views

Greetings,

In order to apply fade-in effect to rad controls (if possible), a nice approach is to increase the opacity of RootElement from 0 to 1 gradually with a timer. It works just fine with most of the rad controls including radbuttons, but there is an issue when I apply this method to a rad group box.

I attached a gif file that illustrates the issue (please notice that the blue background is actually the background of radgroupbox itself, not the container form).

Changing opacity of Radgroupbox.RootElement only affects the border frame of the box, not the whole box itself (background color stays still even with RootElement.Opacity = 0 ).

 

Any suggestion to fade in a radgroupbox ?

 

Thanks in advance.

Nadya | Tech Support Engineer
Telerik team
 answered on 02 Oct 2020
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)
Form
Chart (obsolete as of Q1 2013)
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?