Antonio Linares wrote:Manuel,
Mi voto es ambos
Que pueda escribirse como VIEW ó DIALOG, asi ayudamos a los FiveWinners que vayan llegando
function Main()
local oWnd , oLabel
local oVista1, oView2, oTabbar
local onavitem , onav1,onav2
DEFINE WINDOW oWnd COLOR 255,255,0,100
DEFINE TABS oTabBar OF oWnd ITEMS "UNO","DOS","TRES" OPTION 2
@ 100, 130 SAY "First" OF oTabBar:aView[1]
@ 100, 130 SAY "Second" OF oTabBar:aView[2]
@ 100, 130 SAY "TRES" OF oTabBar:aView[3]
ACTIVATE WINDOW oWnd
return nil
#include "fivephone.ch"
function Main()
local oWnd , oLabel
local oVista1, oView2, oTabbar
local onavitem , onav1,onav2
DEFINE WINDOW oWnd COLOR 255,255,0,100
DEFINE TABS oTabBar OF oWnd ITEMS "UNO","DOS","TRES" ;
OPTION 2
@ 100, 130 SAY "First" OF oTabBar:aView[1]
@ 100, 130 SAY "Second" OF oTabBar:aView[2]
@ 100, 130 SAY "TRES" OF oTabBar:aView[3]
DEFINE NAVBAR oNav1 TITLE "Vista 1" OF oTabBar:aView[1] ;
BTNLEFT "Exit 1" ACTION msginfo("exit1") ;
BTNRIGHT "About 1" ACTION msginfo("About1")
DEFINE NAVBAR oNav2 TITLE "Vista 2" OF oTabBar:aView[2] ;
BTNLEFT "Exit 2" ACTION msginfo("exit2") ;
BTNRIGHT "About 2" ACTION msginfo("About2")
ACTIVATE WINDOW oWnd
return nil
#include "fivephone.ch"
function Main()
local oWnd , oTabbar
local onav1,onav2 , oBrw
DEFINE WINDOW oWnd COLOR 255,255,0,100
DEFINE TABS oTabBar OF oWnd ITEMS "UNO","DOS","TRES" ;
OPTION 2
@ 100, 130 SAY "First" OF oTabBar:aView[1]
@ 100, 130 SAY "TRES" OF oTabBar:aView[3]
DEFINE NAVBAR oNav1 TITLE "Vista 1" OF oTabBar:aView[1] ;
BTNLEFT "Exit 1" ACTION msginfo("exit1") ;
BTNRIGHT "About 1" ACTION msginfo("About1")
DEFINE NAVBAR oNav2 TITLE "Configuracion" OF oTabBar:aView[2] ;
BTNLEFT "Exit 2" ACTION msginfo("exit2") ;
BTNRIGHT "About 2" ACTION msginfo("About2")
@ 10, 100 LISTBOX oBrw ;
ITEMS { "Indices","Parametros","Conexiones"} ;
HEADS {space(21)+"Varios"} ;
OF oTabBar:aView[2] ;
SIZE 300,190 ;
CELLHEIGHT 90 ;
CELLSTYLE 1 ;
CELLACCESORY 2 ;
GROUP
obrw:SetBackClear()
ACTIVATE WINDOW oWnd
return nil
ld: duplicate symbol _HB_FUN_ALIAS in /Users/manuel/Desktop/paraiphone/harbour/lib/libharbour.a(dbcmd.o) and /Users/manuel/Desktop/paraiphone/harbour/lib/libharbour.a(nulsys.o)
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
ld: duplicate symbol _HB_FUN_DBUNLOCK in /Users/manuel/Desktop/paraiphone/harbour/lib/libharbour.a(dbcmd.o) and /Users/manuel/Desktop/paraiphone/harbour/lib/libharbour.a(nulsys.o)
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
ld: duplicate symbol _hb_rddSelectWorkAreaAlias in /Users/manuel/Desktop/paraiphone/harbour/lib/libharbour.a(nulsys.o) and /Users/manuel/Desktop/paraiphone/harbour/lib/libharbour.a(wafunc.o)
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
HB_FUNC( VIEWEND )
{
UIView * view = ( UIView * ) hb_parnl( 1 );
[view removeFromSuperview ];
[view release];
}
UIViewAnimationOptions
Specifies options for animating views with blocks.
enum {
UIViewAnimationOptionLayoutSubviews = 1 << 0,
UIViewAnimationOptionAllowUserInteraction = 1 << 1,
UIViewAnimationOptionBeginFromCurrentState = 1 << 2,
UIViewAnimationOptionRepeat = 1 << 3,
UIViewAnimationOptionAutoreverse = 1 << 4,
UIViewAnimationOptionOverrideInheritedDuration = 1 << 5,
UIViewAnimationOptionOverrideInheritedCurve = 1 << 6,
UIViewAnimationOptionAllowAnimatedContent = 1 << 7,
UIViewAnimationOptionShowHideTransitionViews = 1 << 8,
UIViewAnimationOptionCurveEaseInOut = 0 << 16,
UIViewAnimationOptionCurveEaseIn = 1 << 16,
UIViewAnimationOptionCurveEaseOut = 2 << 16,
UIViewAnimationOptionCurveLinear = 3 << 16,
UIViewAnimationOptionTransitionNone = 0 << 20,
UIViewAnimationOptionTransitionFlipFromLeft = 1 << 20,
UIViewAnimationOptionTransitionFlipFromRight = 2 << 20,
UIViewAnimationOptionTransitionCurlUp = 3 << 20,
UIViewAnimationOptionTransitionCurlDown = 4 << 20,
};
typedef NSUInteger UIViewAnimationOptions;
Return to FiveMac / FivePhone (iPhone, iPad)
Users browsing this forum: No registered users and 2 guests