Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 21:15

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[H]Python Knopf im Board failt

Discussion on [H]Python Knopf im Board failt within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
Noa_'s Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 605
Received Thanks: 580
[H]Python Knopf im Board failt

hallo, ich wollte mein Testboard etwas erweitern, um zu üben wie man knöpfe einfügt, jedoch sehe ich keine im Board, hier screen



Die syserr ist blank, und weis nicht was ich noch machen soll.
Freue mich immer auf hilfreiche Antworten.

PHP Code:
import ui
import wndMgr
x
=300

class LernWindow(ui.BoardWithTitleBar):
    
    global 
x
    
    def __init__
(self):
        
ui.BoardWithTitleBar.__init__(self)
        
self.SetSize(300,300)
        
self.SetPosition(wndMgr.GetScreenWidth()/2-(x/2),100)
        
self.AddFlag("float")
        
self.AddFlag("movable")
        
self.SetTitleName("Test-Board")
        
self.SetCloseEvent(self.Destroy)
        
        
buttonui.Button()
        
button.SetParent(self)
        
button.SetUpVisual("d:/ymir work/ui/public/large_button_01.sub")
        
button.SetOverVisual("d:/ymir work/ui/public/large_button_02.sub")
        
button.SetDownVisual("d:/ymir work/ui/public/large_button_03.sub")
        
button.SetText("Test-Knopf")
        
button.SetEvent(self)
        
button.SetPosition(150,50)
        
    
def __del__(self):
        
ui.BoardWithTitleBar.__del__(self)
      
    
def Destroy(self):
        
ui.BoardWithTitleBar.Hide(self)
            
    
def Show(self):
        
ui.BoardWithTitleBar.Show(self)

ToClass=LernWindow()
ToClass.Show() 
Noa_ is offline  
Thanks
1 User
Old 07/19/2013, 16:50   #2

 
elite*gold: 216
Join Date: Aug 2009
Posts: 1,768
Received Thanks: 1,962
Die Knöpfe sind richtig positioniert ?
Lord Avo​ is offline  
Thanks
2 Users
Old 07/19/2013, 17:01   #3
 
Noa_'s Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 605
Received Thanks: 580
hatte es schon mit der Position rumprobiert aber konnte den nie sehen und es ist nur 1 Knopf >,>
Noa_ is offline  
Thanks
1 User
Old 07/19/2013, 17:04   #4

 
elite*gold: 216
Join Date: Aug 2009
Posts: 1,768
Received Thanks: 1,962
Quote:
large_button_01.sub
large_button_02.sub
large_button_03.sub
Darin auch alles richtig konfiguriert?
Lord Avo​ is offline  
Thanks
2 Users
Old 07/19/2013, 17:06   #5
 
elite*gold: 139
Join Date: Sep 2010
Posts: 583
Received Thanks: 546
Du hast den Show parameter vergessen
Code:
button.Show()
.XXShuzZzle is offline  
Thanks
1 User
Old 07/19/2013, 17:37   #6
 
Noa_'s Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 605
Received Thanks: 580
das bleibt trotzdem leer >,> mit button.Show()
die sub Daten passen auch, nur sehe ich im Board nichts >,>
Noa_ is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Python-Board]Ihr seid gefragt..
01/20/2013 - Metin2 Private Server - 8 Replies
Abend, ich hab ein kleines Board erstellt, weil mir zur Zeit wirklich langweilig ist. Ich möchte mal eure Meinung wissen, wie ihr das Board/die Idee findet. Bin Kritikfähig.. aber bitte nicht beleidigen oder "haten". Verbesserungsvorschläge möchte ich auch gerne haben, wenn es welche gibt. http://s1.directupload.net/images/130119/4zdw49x8 .png Ich glaube ich brauche nicht zu erklären was das Board kann..



All times are GMT +1. The time now is 21:15.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.