Delphi-PRAXiS
Seite 1 von 2  1 2      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   iOS iCL Slide-out Sidebar Menu (https://www.delphipraxis.net/177436-icl-slide-out-sidebar-menu.html)

Crocotronic 6. Nov 2013 15:58

iCL Slide-out Sidebar Menu
 
Halli Hallo,
hat es schon jemand geschafft, so ein schönes Slide-out Menü hinzubekommen, wie hier gezeigt?
Brauche das zwingend in meiner App und habe keine blassen Schimmer wie ich das machen soll :pale:

Viele Grüße
Croco

RWarnecke 6. Nov 2013 16:32

AW: iCL Slide-out Sidebar Menu
 
Das Beispiel wäre doch ein Ansatz oder ?

Crocotronic 6. Nov 2013 18:19

AW: iCL Slide-out Sidebar Menu
 
Das hab ich ja vor längerer Zeit schon mal mit FIREMONKEY gemacht. Jetzt geht es um die nativen Controls.

Darlo 7. Nov 2013 09:52

AW: iCL Slide-out Sidebar Menu
 
So läuft mein Sidemenu:

Delphi-Quellcode:
  if frmSideMenu.svSideMenu.Position.X < 0 then
    begin
      frmSideMenu.svSideMenu.Parent := frmMain;
      frmSideMenu.svSideMenu.Initialize;
      TUIView.OCClass.beginAnimations(nil, nil);
      TUIView.OCClass.setAnimationDuration(0.4);
      frmSideMenu.svSideMenu.SetBounds(0, 138, 320, 602);
      TUIView.OCClass.commitAnimations;
    end
  else
    begin
      TUIView.OCClass.beginAnimations(nil, nil);
      TUIView.OCClass.setAnimationDuration(0.4);
      frmSideMenu.svSideMenu.SetBounds(-320, 138, 320, 602);
      TUIView.OCClass.commitAnimations;
    end;
Zur Info: svSideMenu ist eine iCL Scrollview

Crocotronic 7. Nov 2013 11:24

AW: iCL Slide-out Sidebar Menu
 
Verwendest du das Sidemenu auch im Zusammenhang mit einem PageViewControl?

Darlo 7. Nov 2013 11:26

AW: iCL Slide-out Sidebar Menu
 
Ich habe eine Scrollview genommen, damit ich alle reinpacken kann. Habe aktuell nur Views drin.

Crocotronic 7. Nov 2013 11:29

AW: iCL Slide-out Sidebar Menu
 
Hast du eine App im Appstore, wo man sich das angucken kann?

Darlo 7. Nov 2013 13:03

AW: iCL Slide-out Sidebar Menu
 
Du hast doch den Code... Die App läuft unter einen Inhouse-Account, kann ich also nicht bereitstellen.

Crocotronic 7. Nov 2013 14:07

AW: iCL Slide-out Sidebar Menu
 
Mein Problem ist, dass ich ein PageViewController benutze. Wenn ich nach ganz rechts wische, will ich, dass sich das Menü öffnet, wie bei der Facebook-App.

Darlo 7. Nov 2013 14:23

AW: iCL Slide-out Sidebar Menu
 
Form -> Gestures -> Standard -> Left / Right

Oder

MouseMove


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:03 Uhr.
Seite 1 von 2  1 2      

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz