On 5/14/10 11:46 AM, Martinecz Miklós wrote:
> Can I hold these formatted texts in the database with the relevant other
> information?
>
> My form is like an interactive tutorial.
> The user can select a topic on the left-side object tree.
> The right side of the form is split vertically: the upper window is for help
> and hints. The lower window is for user input.
>
> I would like to store the help information and the related user input in one
> database, in one record. Each record in the database contains one help text
> and the related user input text (in different fields). The user can browse
> the topics through object tree.
>
> So, this would be the basic functional design of the form. It means that it
> would be good to store the formatted help text in the same database together
> with the user input.
>
> However, I cannot find out if it is possible using the dHtmlBox.

dHtmlBox derives from ControlMixin, and not DataControlMixin, so it doesn't 
have 
DataSource and DataField properties, so it doesn't have the built-in stuff to 
save to 
the database and update from the database.

But you could still write custom code like 'self.myHtmlBox.Value = 
biz.Record.myfield' to get the value from the database.

Paul
_______________________________________________
Post Messages to: [email protected]
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/[email protected]

Reply via email to