Owner Draw Strings and Dates

Description

When you want to display date variables, such as Date = {12/23/2005}, you will have a problem because Alpha Anywhere will think that the leading "{" is the start of an owner draw directive. You must escape the "{" by enclosing it in "{ }".

Example

data = "{F=Courier New,8}{C=Dark Blue,Dark Blue}{B=White,White}" + "DATE = {{}12/12/2005{}}"
ui_dlg_box("","[%O={@@}%.30,5^#data];")
images/XD_Date_in_Owner_Draw_String.gif

See Also