#Xojo web controls download#
#Xojo web controls code#
Fixed code to return FolderItem in various functions on iOS.Fixed an edge case for Substitute in WordFileMBS class not working correctly for text near the end of the document.Fixed a problem with decimal data type for Firebird in our MBS Xojo SQL Plugin.Enabled ConsoleExecuteMBS method for desktop projects.Deprecated LoadString in ChromiumFrameMBS class since CEF deprecated the method.Changed SQLPreparedStatementMBS class to raise TypeMismatchException if you pass array of variant for param array, e.g.Changed PermissionsMBS class to be marked as console safe.Changed MLFeatureValueMBS.featureValueWithPicture to convert picture to bitmap if needed.Changed DynaPDF examples to use kcpUnicode instead of kcp1252.Changed ConvertStyledText in DynaPDFMBS class to pass fonts as family names.Changed a few old deprecated controls to hide in the control library.Added TextInteractionEnabled property for WKPreferencesMBS class.Added StartIndex parameter to FindValueInArray and FindValueInObjectArray methods in JSONMBS class, so you can repeat search until nothing more is found.Added ScreenResolution property to DynaPDFRasterizerMBS class.Added role property to CKShareParticipantMBS class.Added Options dictionary parameter to AllDisplayModes function.Added NSURLUbiquitousItemIsExcludedFromSyncKey to NSURLMBS class.Added new fields FmtTextColor and FmtText for DynaPDFFieldExMBS class.Added new events for NSSharingServiceDelegateMBS class for cloud sharing.Added new constructor for DirectShowEnumMonikerMBS to find all filters available.Added ktfFixedTextHeight constant for DynaPDFTableMBS class.Added kCGDisplayShowDuplicateLowResolutionModes constant for CGDisplayMBS class.Added kCFURLUbiquitousItemIsExcludedFromSyncKey to CFURLMBS class.Added IsAutoFilter function to XLSheetMBS class.Added GetPDFVersionEx function for DynaPDFMBS class.Added GetInPDFVersionEx function for DynaPDFMBS class.Added formatted method for NSPersonNameComponentsMBS class.Added Float 16bit support for MLMultiArrayMBS class.Added ErrCode and ErrType properties to DynaPDFErrorMBS class.Added DefaultBackgroundColor property to WebView2ControlMBS control.Added CacheInsertStatement flag for SQLDatabaseMBS to cache insert statements for InsertRecord to speed those up.Added BlockShiftSpace property to WindowsKeyFilterMBS class.Added attribution property for NSURLRequestMBS class.Added AddSort method to XLAutoFilterMBS class.Added AddButtonImageEx2 function to DynaPDFMBS class.Added XLFormControlMBS class and related methods.Added NewWindowRequested event to WebView2ControlMBS control.This code (in the Open event handler of a WebPage), applies an existing WebStyle (called MySelectionStyle) to use for selected rows in the ListBox: SortableListBox.
Use the SelectionStyle property of the WebListBox class to assign a style for selected rows. There is a new Style setting to specify the style for selected rows. The SelectAll method is a quick and easy way to select all the text in the TextArea: TextArea1.SelectAll ListBox Selected Row Style This code scrolls a TextArea to line 100: TextArea1.ScrollPosition = 100 When there is a lot of text in a TextArea, you use the ScrollPosition property to set the topmost visible line. TextArea has a new ScrollPosition property and a new SelectAll method. This code removes the last segment: SegmentedControl1.SegmentCount = SegmentedControl1.SegmentCount - 1 TextArea SegmentedControl1.Segment(SegmentedControl1.SegmentCount - 1) = "Segment " + _ This code adds another segment to SegmentedControl1 on a WebPage: SegmentedControl1.SegmentCount = SegmentedControl1.SegmentCount + 1 Modifying segments is done using the SegmentCount property of the WebSegmentedControl class. Previously, you could only design your Segmented Control in the Layout Editor. You can now add or remove segments of a Segmented Control at run-time. This code removes the first item on a toolbar called TestToolbar: TestToolbar.RemoveItem(0) Add or Remove Segments This code inserts a button in the first position of a toolbar called TestToolbar: Dim button As New WebToolbarButton This code adds a button to a toolbar called TestToolbar: Dim button As New WebToolbarButtonīutton.Caption = "Button " + Str(TestToolbar.ItemCount + 1) You can use the AppendItem, InsertItem and RemoveItem methods of the WebToolbar class to modify the Toolbar at run-time. Previously, you could only design your Toolbar in the Layout Editor. You can now add or remove Toolbar items at run-time. There were several improvements to web controls in Xojo 2014 Release 2.