I'm converting a procedure into a class
on a class I cannot use Move function
how I can convert move ()
sample :
For n= 1 to ::nimages
::nLeftImage[n]-= 2
::aElementi[n]:Move( ::nRiga,::nLeftImage[n],,,.t.)
::aElementi[n]:Refresh()
next
any help please
help for creating a class
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
help for creating a class
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: help for creating a class
Silvio,
METHOD SetPos( nRow, nCol ) INLINE ::Move( nRow, nCol )
regards
Uwe
inside classes :on a class I cannot use Move function
how I can convert move ()
METHOD SetPos( nRow, nCol ) INLINE ::Move( nRow, nCol )
regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: help for creating a class
no good
aElementi[n] are xmages
it not found Move or setpos method
aElementi[n] are xmages
it not found Move or setpos method
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: help for creating a class
Your class will surely have to define it like this:
CLASS TMyClass FROM TControl (or any class that has the methods and data you need)
CLASS TMyClass FROM TControl (or any class that has the methods and data you need)
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: help for creating a class
of course
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC