smarthaert / phoenixlib

Automatically exported from code.google.com/p/phoenixlib
0 stars 0 forks source link

SetFocus does not works on the OnShow Event #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To fix it!  
In procedure TPHXGuiEngine.SetModal(Control: TPHXControl; IsModal: Boolean);, 
change

  if Assigned(Focused) and (Modal <> Focused) then

to

  if Assigned(Focused) and (Modal <> Focused) and (Modal <> Focused.Parent) then

Original issue reported on code.google.com by wagenhei...@gmail.com on 9 Feb 2011 at 10:22

GoogleCodeExporter commented 9 years ago

Original comment by andreas....@gmail.com on 8 Aug 2013 at 2:11