Recent

Author Topic: Two forms but active one when click on that  (Read 720 times)

eldonfsr

  • Sr. Member
  • ****
  • Posts: 447
Two forms but active one when click on that
« on: September 14, 2022, 08:28:19 pm »
Hello i need create app bust must be to have two forms and  must be get focus or change status to active when click on each form and get focus to that...

another option?

thanks...

dseligo

  • Hero Member
  • *****
  • Posts: 1221
Re: Two forms but active one when click on that
« Reply #1 on: September 15, 2022, 08:43:29 am »
I am not sure if I understand your problem. Just create and show two forms (but don't show them modal) and each one will get focus when you click on it.

zeljko

  • Hero Member
  • *****
  • Posts: 1596
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Two forms but active one when click on that
« Reply #2 on: September 15, 2022, 08:48:06 am »
TForm.OnActivate() ?

 

TinyPortal © 2005-2018