I have a field I type text into. I can style, change text size and align it in the standard ways. Once I stop editing the field I press a button which then copies the text from that particular field into the equivalent field in my datagrid (form). The issue I have is when I copy the text from that field to the datagrid I lose all the formatting, thought the only way to do this was using htmltext as the option.
I use the following code,
the button I press to copy the text
Code: Select all
on mouseup
set the text of field "fld_line_description" of me to pDataArray["label 3"]
dispatch "AddData" to group "dg_data" with theDataA, tLineNo
end mouseup
datagrid form code which fills the field
Code: Select all
on FillInData pDataArray
set the htmltext of field "fld_line_description" of me to pDataArray["label 3"]
end FillInData