Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Show html in a form

$
0
0
Re: Show html in a form
FoxInCloud
Re: Show html in a form
Jul. 25, 2013
02:47 am
3U905ZNDEShow this entire thread in new window
Gratar Image based on email address
From:FoxInCloud support
To:Michele
you can set container.wlContentsDynamic = .T.


Ok, but once this form has been created how can i refresh it ? If i close the form and i reopen it, i see the same page even if i have added new records in the table...
I have to close my app and restart to see the new records.



you can implement a container, and implement this container's .wcHTMLgen() like this:
[updated]
procedure wcHTMLgen(toHTMLgen)this.wcHTML = '<div id="someID">'select yourTablescanthis.wcHTML = m.this.wcHTML; + textmerge([<label></label>]); + trim(yourTable.longDescription); )endscanthis.wcHTML = m.this.wcHTML + '</div>'


I have a table with two fields, one short description and one detailed description. The first field is in a character 100, the second one is a memo field.

I need to show these fields in a particular format, not in a grdi, but like the form should be an html page......The problem is that i don't know the lenght of the text contained in the the memo field. An interesting thing should be if i can insert in the memo a formatted html page and when the field is shown it is interpretated as html page...

Is it possible ?





Thierry Nivelet (FoxInCloud)
Never explain, never complain (Queen Elizabeth II) - ban but and not


Viewing all articles
Browse latest Browse all 10393

Trending Articles