1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    13
    Vote Rating
    0
    oswaldo.gh89 is on a distinguished road

      0  

    Default Unanswered: hide toolbar, by default, help

    Unanswered: hide toolbar, by default, help


    I need to hide the toolbar that is created by default in the panel, I create a custom bar where the back button had an event.


    I attached a picture so you can understand my request more

    cats.jpg

    I hope you can help me, thank you all

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Answers
    124
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi,

    you can provide your code for better understanding the problem
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Posts
    13
    Vote Rating
    0
    oswaldo.gh89 is on a distinguished road

      0  

    Default


    thanks for responding quickly

    Code:
    var tapButton = Ext.create('Ext.Button',{	text: 'some text',
    	handler: function(){
    															
    	//this code is not relevant
    	}
    });
    
    
    var tapButtonX = Ext.create('Ext.Button',{
    	text: 'some text',
    	ui: 'decline',
    	handler: function(){
    
    
    		//this code is not relevant
    	}
    });												
    
    
    var myToolBar = Ext.create('Ext.Toolbar',{
    	docked: 'top',
    	items:
    	[
    		{
    	      text: 'Back',
    	      ui: 'back',
    	      handler: function(){
    	       	//the back button in the new toolbar created for my,
    	      	// delete the toolbar and the panel
    	      	me.remove(myToolBar);
    	       	me.remove(panel3);
    		    }
    	    },
    		tapButton, 
    		tapButtonX
    	]
    });
    
    
    var panel3 = Ext.create('Ext.Panel', {
    	layout: 'card',
    	xtype: 'panel',
    	items: 
    	[
    	{
    		//Here is a picture of a person
    		html:['<h1 style="text-align: center; "><img alt="" src="userAtPlace/'+idUser+'.jpg" style="width: 270px; height: 281px; " /></h1></body>'].join('')
    	}
    	]
    });
    
    
    											
    var store = Ext.create('Ext.data.Store',{
    	proxy: 
    	{
    		type: 'ajax',
    		//url: 'prueba.php',
    		url: '../index.php/tapatplace/addTap',
    		actionMethods: 
    		{
    			read: 'POST'
    		}
    	}
    });
    												
    //This shows the panel that I put in the image of POST, 
    //and the toolbar I created in the code above, 
    //this contains the button (back, tapButton, tapButtonX)
    
    
    
    me.add(myToolBar, panel3);


  4. #4
    Sencha User
    Join Date
    Aug 2012
    Posts
    13
    Vote Rating
    0
    oswaldo.gh89 is on a distinguished road

      0  

    Default


    Someone could help me please :/

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi