Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / pas2js / 2020-11

TCustomWebWidget suggestions

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to heliosroots
heliosroots wrote
TCustomWebWidget is missing some methods * TCustomWebWidget.Focus () => To switch focus between widget ....

Will add.

* TCustomWebWidget.ReplaceClass () => For class handling on one line .... it would avoid "remove" and "add"

For some TMS Web core projects I created AddRemove(). The difference with replace is that is the class to be removed is not there, the 'add' part is added anyway.

I will add both.

Michael.

Reply by email

Michael Van Canneyt
to Michael Van Canneyt
Michael Van Canneyt wrote 20 lines
On Tue, 24 Nov 2020, heliosroots wrote: > TCustomWebWidget is missing some methods > > * TCustomWebWidget.Focus () => To switch focus between widget .... Will add. > > * TCustomWebWidget.ReplaceClass () => For class handling on one line .... it > would avoid "remove" and "add" For some TMS Web core projects I created AddRemove(). The difference with replace is that is the class to be removed is not there, the 'add' part is added anyway. I will add both.

All done in rev. 951.

Note that calling focus will render the widget if it was not yet rendered.

Michael.

Reply by email