In the past weeks, Andrew covered how to integrate the impressive Tabulator JavaScript control in a TMS WEB Core project. If you are interested in web client development using Delphi, also have a look at the recent series of blogs from Andrew Simard that covers how to use external JavaScript libraries easily from TMS WEB Core. You can expect this update also very soon! Meanwhile, our team is also hard at work to bring all new components, new features of TMS WEB Core for Delphi to TMS WEB Core for Visual Studio Code v2.0. Holger Flick:Īnother interesting source of information is the replay of the recently held webinar with CTO Bruno Fierens walking through all new features of TMS WEB Core v2.0: Today, you can already learn about the new dropdown controls, the new country list controls and the TWebCheckListBox in the video from our chief evangelist Dr. In the coming days and weeks, we’ll unveil via video more details about the new features in TMS WEB Core v2.0. – Speech recognition component: TWebSpeechRecognition New web browser APIs easily accessible from your Object Pascal code: – Delete entire folder from project via IDE project manager Live-preview from context menu on form units in the IDE project manager Improved interaction with web projects from the Delphi IDE: – Multi-language support in TWebMessageDlg() – TCanvas VCL compatible brush style support The underlying framework has been enhanced and extended: – New ListSource/ListField property in TWebDBComboBox to load items from a dataset – Perform filtering on items in the TWebListControl – Add nodes with checkbox or radiobutton in TWebTreeView – Add controls checkbox/button/progressbar in Many new features have been added to existing components, the most important shown here: There is too much to list here in detail. TWebXLSX: Microsoft Excel XLSX file import & export component – TCountr圜omboBox, TWebCountryListBox,TWebCountryDropDown: various controls to show list of countries in the world to pick from, including list of countries with official country flags – TWebEditBtn: edit control with attached button – TWebSearchEdit: edit control with embedded search and clear button – TWebDBListControl: DB-aware Bootstrap styled list control with optional DB field template – TWebCheckListBox: VCL-like check listbox – TWebDropDownControl, TWebEditDropDownControl: flexible control that can be used to show any other control in its dropdown part The latest version of the pas2js compiler, responsible for transpiling the Object Pascal code to JavaScript running in the browser, and updated RTL is integrated now, bringing even better Delphi TMS WEB Core brings improvements to the web client development experience from your Delphi IDE in many areas! Msg.We’re excited that after many months of hard development work, TMS WEB Core v2.0 is available for you! All active registered TMS WEB Core v2.0 users get this new release free. If not (ThemeServices.ThemesEnabled or DoubleBuffered) then begin Procedure TMyRadioButton.CnCtlColorStatic(var Msg: TWMCtlColorStatic) R := Rect(Left, Top, Left + Width, Height + Top) If not (ThemeServices.ThemesEnabled or DoubleBuffered) Procedure TMyRadioButton.WmEraseBkgnd(var Msg: TWMEraseBkgnd) If not (ThemeServices.ThemesEnabled or DoubleBuffered) then Procedure TMyRadioButton.WmPaint(var Msg: TWMNCPaint) Params.ExStyle := Params.ExStyle or WS_EX_TRANSPARENT Procedure TMyRadioButton.CreateParams(var Params: TCreateParams) Procedure CreateParams(var Params: TCreateParams) override Procedure WmPaint(var Msg: TWMNCPaint) message WM_PAINT Procedure WmEraseBkgnd(var Msg: TWMEraseBkgnd) message WM_ERASEBKGND Procedure CnCtlColorStatic(var Msg: TWMCtlColorStatic) message CN_CTLCOLORSTATIC A problem not easily noticable can (sometimes) be duplicated by bringing a different window in front of the form containing the controls, and then slowly moving it aside, sometimes this leaves some artifacts. Problems easily noticable are, as you would guess from the code, it's a bit flickery and it is not transparent when DoubleBuffered. The below is the same code applied to the RadioButton. I, once, had tried to make the CheckBox transparent for when runtime themes are not enabled in project options, or a classic theme is selected with the OS the result was not perfect. I agree with Andreas and Serg in that the control is transparent when themes are enabled.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |