You stated lot many things in that small paragraph. Please don't be that concise, I am a beginner yet.
In the book of M. Egger also I studied just a few lines about Scatter Name command.
Please elaborate it. In order to put it separately I make it my next question
Q3. what are data objects? How...
Q2. Besides defineing the scope of the Class Definition What else is special about NewObject() in contrast to CreateObject()?
Reference: http://flylib.com/books/en/2.340.1.13/1/
"Using NewObject(), Visual FoxPro makes sure the class definition is in scope. You can specify visual class libraries...
What are member objects?
Reference: 'advanced object oriented programming with visual foxpro 6.0 By Egger M., Rubel M. Page 31'
Excerpt:
"All FoxPro base classes support the constructor and destructor events. However, some classes feature other events in addition to the regular constructor...
Well, to grasp the concept of Class and other important concepts more deeply I am going through Advanced Object Oriented Programming with Visual FoxPro 6.0. Please give notions- Is it good to go with concepts dealt with version 6 when I am programming with version 9.0? Should I continue reading...
Ok, Then I modified the code in the click event of 'cmdBw' as
This.Parent.Img2.Stretch = 2
and also after endwith typed
IF !Empty(This.Parent.txtPath.Value)
This.Parent.img2.Visible = .T.
ELSE
This.Parent.img2.Visible = .F.
This.Parent.img2.Stretch = 0
ENDIF
Running ok...
What I have done till now can be jotted down as follows:
1. Created the project with name AddImage.pjx,
2. Defined NewClass based on BaseClasses.
3. Created a new class AddImage.vcx as NewContainer.
4. Added 'Img1' with an image (to mimic to Canvas) into the Picture property of Img1.
5...
Ok, Now when I am done with bringing the clicked image on to the canvas the problem I am facing is that the dimension of image is independent of the canvas boundary.
In what way can I confine the image within the boundary of canvas?
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.