From: John H. <ec...@ya...> - 2011-06-19 13:25:32
|
On 6/18/2011 11:45 PM, ec...@gm... wrote: > font is not a dictionary. It's a class. Try font._size > > On 6/17/2011 1:23 PM, hwg wrote: >> from PythonCard import model >> class MainWindow(model.Background): >> def on_Slider1_mouseUp(self, event): >> sliderValue = self.components.Slider1.value >> self.components.TextArea1.font['size'] = sliderValue >> >> app = model.Application(MainWindow) >> app.MainLoop() > > > -- > Kim Cheung |