You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using DelphiFMX 1.0.9 but this happen also in 1.0.8.
If in Delphi Designer I set Edit.AutoSelect the settings is in the pyfmx file but raise an error during python load phase.
If I use Edit.OnEnter to activate Edit.SelectAll this does not select graphically the test but in Edit.SelStart and Edit.SelLength the
values are correct:
def __on_edit_enter(self, Sender):
# TAKE CARE
# =========
# DelphiFMX does not support AutoSelect property.
# I've tried to force SelectAll on the OnEnter event but seems does not work!
Sender.SelectAll()
Sender.Repaint()
self.Caption = f"Sender : {Sender.name} | {Sender.Text} | {Sender.SelStart} | {Sender.SelLength}"
The text was updated successfully, but these errors were encountered:
I'm using DelphiFMX 1.0.9 but this happen also in 1.0.8.
If in Delphi Designer I set Edit.AutoSelect the settings is in the pyfmx file but raise an error during python load phase.
If I use Edit.OnEnter to activate Edit.SelectAll this does not select graphically the test but in Edit.SelStart and Edit.SelLength the
values are correct:
The text was updated successfully, but these errors were encountered: