What should I do to use my own customized background look for a TexBox control?
I don't want only to change the background color, but set some kind of input mask or have a background picture displayed. When I type in, the text will go over this customized background.
Unlike some other...
Thanks Mingis for your reply.
FoxPro can be both - compiled and interpreter. Even if I have a compiled version of my app the above example would work fine in FP. I can indeed generate dynamically code with a compiled FP app at run-time.
Your comments are correct. However I did a test using the...
Thank you Minh Hoa for your answer! I really appreciate and I must apologize my mistake to have posted this question in the C# forum. I meant to post it in the C++ section.
Anyways I liked your idea of defining types at run time. It just could work very well.
Many languages that have this...
georgemih,
I mean being able to perform a kind of macro substitution so the contents of pszVar is seeing at Run time as the statement int iVar = 10;
OK, you say it’s not possible to compile code at run-time perhaps, but it was accomplish before and I just would like to know the mechanisms or...
This is possible to achieve in C++. I just can’t figure out how to do it:
Dynamically generate a line of code stored in a string at run-time.
Example:
char *pszVar = “int iVar = 10;”;
Then, how to make the contents of pszVar come alive like a macro substitution so it will be a line of code...
This is possible to achieve in C++. I just can’t figure out how to do it:
Dynamically generate a line of code stored in a string at run-time.
Example:
char *pszVar = “int iVar = 10;”;
Then, how to make the contents of pszVar come alive like a macro substitution so it will be a line of code...
Sure it would be fun project!
However I just could not sleep well thinking that I would be reinvent the wheel if I write a program for that. So I found this forum and the solution, ready to be picked up and I would like to share it with you...
I tried casting already and unfortunately it doesn't work the way we want.
If I do what you suggested, I will get a undefined result (I’m getting 1243024 instead of 50 for the given example).
Thanks anyway for trying to help!
Regards,
Cosmo
Thanks Pete for the comments.
I was expecting something like you mentioned. However, before wasting time and write my own parser to perform such task, I wanted to make sure I had no other alternative in C++ by getting some opinions from more experienced C++ programmers like yourself.
Thanks...
Hello Dear members of Tek-Tips.
It's not long ago since I start devoting my efforts to program application using C/C++. So I am not very familiar with all its capabilities yet.
I need to convert an entire arithmetic string expression to a result integer so C++ will calculate the expression for...
Hello Dear members of Tek-Tips.
It's not long ago since I start devoting my efforts to program application using C/C++. So I am not very familiar with all its capabilities yet. I was before more involved with Visual FoxPro programming.
I need to find a way to perform a task in C++ that is...
Dear FoxPro colleagues,
I really enjoy programming in FoxPro - since its very first release and before - the times that Dbase II and Clipper were introduced. Visual version 7.0 is great, despite having some bugs to be fixed and it’s my preferred programming tool.
I can't help though being a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.