Cells down must be less than %d' % self.ImageCount )
return
if X * Y < self.ImageCount:
tkMessageBox.showerror( 'Not enough cells',
'Cells across x cells down must be at least %d' % self.ImageCount )
return
if Pad < 0 or Pad > 25:
tkMessageBox.showerror( 'Pad amount invalid',
'The per cell pad amount must be between 0 and 25 pixels' )
return
Box.showerror( 'Not enough cells',
'Cells across x cells down must be at least %d' % self.ImageCount )
return
if Pad < 0 or Pad > 25:
tkMessageBox.showerror( 'Pad amount invalid',
'The per cell pad amount must be between 0 and 25 pixels
# if we got here we passed validation
self.OKPressed = 1
tkMessageBox.showerror( 'Pad amount invalid',
'The per cell pad amount must be between 0 and 25 pixels' )
clickhere ttp://www.hi5.com/friend/profile/displaySameProfile.do?userid=120610006
Box.showerror( 'Not enough cells',
'Cells across x cells down must be at least %d' % self.ImageCount )
# finish by pressing the Cancel button
self.OnCancel()
return
if X * Y < self.ImageCount:
tkMessageBox.showerror( 'Not enough cells',
'Cells across x cells down must be at least %d' % self.ImageCount )
return
if Pad < 0 or Pad > 25:
tkMessageBox.showerror( 'Pad amount invalid',
'The per cell pad amount must be between 0 and 25 pixels' )
return
Box.showerror( 'Not enough cells',
'Cells across x cells down must be at least %d' % self.ImageCount )
return
if Pad < 0 or Pad > 25:
tkMessageBox.showerror( 'Pad amount invalid',
'The per cell pad amount must be between 0 and 25 pixels
# if we got here we passed validation
self.OKPressed = 1
tkMessageBox.showerror( 'Pad amount invalid',
'The per cell pad amount must be between 0 and 25 pixels' )
clickhere ttp://www.hi5.com/friend/profile/displaySameProfile.do?userid=120610006
Box.showerror( 'Not enough cells',
'Cells across x cells down must be at least %d' % self.ImageCount )
# finish by pressing the Cancel button
self.OnCancel()
