Die Suche ergab 4 Treffer

von daniel
Montag 12. April 2010, 18:58
Forum: wxPython
Thema: beim wx.ListCtrl nichts auswählbar
Antworten: 6
Zugriffe: 2509

Du meinst Zeile 35 warscheinlich
self.Bind(wx.EVT_MENU,self.helpfileDialog, id = 104)

Ok. vielen Dank.
mit dem absoluten Positionieren haben wir so in der Schule gelernt. und das mit den Sizern haben wir dann mal so in 1 Stunde nachgeholt. Das mit muss ich mir wohl nochmal ansehen, oder gibt es ...
von daniel
Sonntag 11. April 2010, 20:39
Forum: wxPython
Thema: beim wx.ListCtrl nichts auswählbar
Antworten: 6
Zugriffe: 2509

Ok. hier ist der Code.
inklusive der Haptklasse des Programms.

# _*_ coding: utf-8 _*_
# _*_ coding: cp1225 _*_
# _*_ coding: cp850 _*_


import wx
import os
from wx.lib.ticker import Ticker
from wx.lib import masked
from wx.lib import colourdb
from wx.lib.plot import *
import traceback
import sys ...
von daniel
Sonntag 11. April 2010, 18:11
Forum: wxPython
Thema: beim wx.ListCtrl nichts auswählbar
Antworten: 6
Zugriffe: 2509

Das wird Später gemacht.
hier mal die komplette klasse:

class liste:
def __init__(self, parent):
self.list = wx.ListCtrl(parent, -1, pos=(10,35), size=(400,150), style=wx.LC_REPORT | wx.LC_SINGLE_SEL)
self.list.InsertColumn(0,"Datum")
self.list.InsertColumn(1,"Uhrzeit")
self.list.InsertColumn ...
von daniel
Sonntag 11. April 2010, 15:57
Forum: wxPython
Thema: beim wx.ListCtrl nichts auswählbar
Antworten: 6
Zugriffe: 2509

beim wx.ListCtrl nichts auswählbar

Hallo,
Ich habe folgende Probleme:
Also bei mir kann ich beim wx.ListCtrl nichts auswählen
und scrollen auch nicht
hab python 2.5 und windows XP

Code: Alles auswählen

self.list = wx.ListCtrl(parent, -1, pos=(10,35), size=(400,150), style=wx.LC_REPORT | wx.LC_SINGLE_SEL)