delete a style
Posted: Thu Oct 11, 2007 12:03 pm
Hi,
I want to delete Text- and ParaStyles.
In the online help it says about TFontInfos.Delete:
"Obsolete, please do not use.
In order to delete i-th item from text styles, use
TRVStyle.TextStyles.Free"
But is that also correct for BCB6?
TextStyles->Delete(i) and ParaStyles->Delete(i) seem to work fine, but
Free causes an access violation every time.
Thanks for help,
Usch Wildt
I want to delete Text- and ParaStyles.
In the online help it says about TFontInfos.Delete:
"Obsolete, please do not use.
In order to delete i-th item from text styles, use
TRVStyle.TextStyles.Free"
But is that also correct for BCB6?
TextStyles->Delete(i) and ParaStyles->Delete(i) seem to work fine, but
Free causes an access violation every time.
Thanks for help,
Usch Wildt