BCB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BCB] TFont->Style
Welcome.
I haven't worked much with the Registry yet, but just a general note for
what it may be worth...
It is my understanding that, in Standard C++, enums are, technically, not
integers; they are a type in and of themselves. However, in most every
instance I have used them it is child's play to use them just like an
integer simply by casting them as such. Try casting the enum to an integer
for WriteInteger and see what happens.
/ R
At 10:48 AM 4/23/99 EDT, you wrote:
>Yes, I am here. I have a question. How do I save the Style of a
>TFont to the registry? I tried with WriteInteger but the compiler
>says that the data types are different. Since TFont->Style uses an
>enum for the values I thought they were integers. Can somebody help
>me out? I'm using BCB3.
>
>-----
>jonestor1976@nospam.hotmail.com
>http://www.msu.edu/~jonestor
>
>Torrin's Rules
>3. There is only one winner . . . 1st.
W Komornicki's Home Page |
Main Index |
Thread Index