Re: [dabo-users] Warning Python noob needs help

Author: Carey Gagnon

Posted: 2010-01-01 at 08:09:25

One other thing.

This displays all the info I want it to:

def afterSave(self):

# This will only get called if the save succeeds

newPK = self.PrimaryBizobj.getPK()

stringID = str(newPK)

dabo.ui.info("Record successfully saved. Your new DC number is DC10- %s"

% stringID.zfill(3), title="Success")

self.new()

self.BuilderName.setFocus()

Can the message text be made to display on more the one line (new line, page

break, br...etc)

The message currently displays as:

Record successfully saved. Your new DC number is DC10-003

I would like it to display as:

Record successfully saved.

Your new DC number is DC10-003

Thanks again and happy new year!

Carey

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/a3fcd6c71001010509mbce7f67t156bc06151c734e9@mail.gmail.com

©2010 Carey Gagnon