Hello James, It was a very old post started by Ehab in 2010 I picked it up because I need the Year, Month and day for my soccer application. As mentioned also, there is no need for OOP, because this can be done in a small function (like the exel ...
Ehab, First let me say that I would never recommend creating a Calculate() method (unless it was hidden). You don't want to have to call two methods to get the result. When you request an age, that is what you should get. ...
Mr Ehab Samir Aziz While there are several ways of doing it, here is one, with least changes from your original code. #include "fivewin.ch"function Main()*------------------------ local oDlg, oBtn1, ...
Ehab The calling of oSay:setText( cText ) should be done from outside procedure called : fillDB(oSay) likr this : oSay:SetText( cAcNb ) @ 2.5,4 BUTTON "Process Application" Action fillDB(oSay) SIZE 75,15 OK, but ...
Ehab, I am not sure what you are trying to do, but here is an example of changing a SAY and redisplying it. You must use the UPDATE clause in the SAY and oDlg:refresh() to get it to redisplay. Also, change the text in a SAY ...
__rwstd::__rw_stdexcept_NoNamedException is C++ exception specific to Borland C++ version 5.5 and no longer exist in the later versions. To resolve the problem, you should recompile all your C files with BCC 6.3.
Ehab... My personal opinion... I don't think a CLASS has to be made to fullfil the requirements you want. just a Simple function With and Array as a return Value. Simplier and faster... #define Years 1 #define Months 2 #define ...