Hi all,
I have a type definition;
type
AdfPatterns = TOleEnum;
const
FPNone = $00000000;
FPGray6 = $00000001;
FPGray12 = $00000002;
FPGray25 = $00000003;
FPGray50 = $00000004;
FPGray75 = $00000005;
.....
If all I had was 'FPGray75' stored in a string, what would be an efficient way to obtain the 5?
thank you for any help.
Regards,
Richard
I have a type definition;
type
AdfPatterns = TOleEnum;
const
FPNone = $00000000;
FPGray6 = $00000001;
FPGray12 = $00000002;
FPGray25 = $00000003;
FPGray50 = $00000004;
FPGray75 = $00000005;
.....
If all I had was 'FPGray75' stored in a string, what would be an efficient way to obtain the 5?
thank you for any help.
Regards,
Richard