![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 5 of 5 total |
![]() |
Tue, May 15 2018 8:31 AM | Permanent Link |
Ralf Mimoun | Hi all,
it would be nice if you could close/cancel a dialog by pressing the back button on your smartphone. Is there any event, handler etc. to make it happen? Ralf |
Tue, May 15 2018 9:26 AM | Permanent Link |
Uli Becker | Ralf,
> it would be nice if you could close/cancel a dialog by pressing the back button on your smartphone. Is there any event, handler etc. to make it happen? Yes that works using TAddress and its anchor property: have a look here to get the basic information: https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&page=1&msg=11605#11605 Uli |
Tue, May 15 2018 10:42 AM | Permanent Link |
Ralf Mimoun | Uli,
thanks for the hint. I checked the discussion before asking ![]() ![]() Uli Becker wrote: Ralf, > it would be nice if you could close/cancel a dialog by pressing the back button on your smartphone. Is there any event, handler etc. to make it happen? Yes that works using TAddress and its anchor property: have a look here to get the basic information: https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&page=1&msg=11605#11605 Uli |
Wed, May 16 2018 7:44 AM | Permanent Link |
Uli Becker | Ralf,
> But I must admit that this is a little bit more work than I an willing to invest ![]() Up to you - for me it's not a big deal: I assign the Address.Anchor property in the OnShow event of each form: Address.Anchor := Self.Name; In the OnAnchorChange event handler it looks like this: .... else if SameText(Address.Anchor,'AdminForm') then begin if Assigned(NewsEditForm) then NewsEditForm.Close; AdminForm.Show; end else if SameText(Address.Anchor,'NewsEditForm') then begin if Assigned(HTMLEditForm) then HTMLEditForm.Close; end else if SameText(Address.Anchor,'') then .... Uli |
Wed, May 16 2018 10:15 AM | Permanent Link |
Ralf Mimoun | Uli,
I tested it, and it works great. In full screen you don't even see the more or less ugly bookmarks ![]() Ralf Uli Becker wrote: Ralf, > But I must admit that this is a little bit more work than I an willing to invest ![]() Up to you - for me it's not a big deal: I assign the Address.Anchor property in the OnShow event of each form: Address.Anchor := Self.Name; In the OnAnchorChange event handler it looks like this: .... else if SameText(Address.Anchor,'AdminForm') then begin if Assigned(NewsEditForm) then NewsEditForm.Close; AdminForm.Show; end else if SameText(Address.Anchor,'NewsEditForm') then begin if Assigned(HTMLEditForm) then HTMLEditForm.Close; end else if SameText(Address.Anchor,'') then .... Uli |
This web page was last updated on Saturday, June 3, 2023 at 10:17 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |