Jump to content

TUniDBEdit/TUniEdit Can Be Programmatically Set Focused To Even When GroupBox Disabled?


Frederick

Recommended Posts

I have a TUniDBEdit/TUniEdit control within a TUniGroupBox. When the group box is disabled, I would expect that I will not be able to set focus to the controls within. This works correctly when I attempt to click on the control.

However, when I issue a TUniDBEdit.Setfocus call, the control can be set focused to. Normally, Delphi would throw an error but here, nothing happens. Is UniGUI not aware that the parent is disabled and all controls within cannot be set focused to?

--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1513)
 

Can Focus To TUniEdit When GroupBox Disabled.png

Link to comment
Share on other sites

1 hour ago, Frederick said:

I have a TUniDBEdit/TUniEdit control within a TUniGroupBox. When the group box is disabled, I would expect that I will not be able to set focus to the controls within. This works correctly when I attempt to click on the control.

However, when I issue a TUniDBEdit.Setfocus call, the control can be set focused to. Normally, Delphi would throw an error but here, nothing happens. Is UniGUI not aware that the parent is disabled and all controls within cannot be set focused to?

I will open a ticket in the support portal.

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...