Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBI-Tech problem in Ctimage
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00658773
Message ID:
00808275
Views:
18
Never mind I found the problem, this is how should be.
USE (sys_dir+"MainDef")  IN 0 ALIAS MainDef
	SELECT MainDef
	GO top
	THISFORM.BackGround = MainDef.BackGround
	THISFORM.msword_ind = MainDef.msword_ind
	THISFORM.backselection = MainDef.backgroun2
	DO CASE
		CASE MAINDEF.MBACKGROUN = 1	
	THISFORM.Olecontrol1.PICTURE=thisform.picture1.picture
	THISFORM.Olecontrol1.picPosition = MainDef.mbackpos
		CASE MAINDEF.MBACKGROUN = 2	
	THISFORM.Olecontrol1.PICTURE=thisform.picture2.picture
	THISFORM.Olecontrol1.picPosition = MainDef.mbackpos
	OTHERWISE
	THISFORM.Olecontrol1.PICTURE=NULL
	THISFORM.Olecontrol1.picPosition = 0
	ENDCASE

SELECT MainDef
USE
thisform.olecontrol1.caption = thisform.formtitle
ThisForm.Olecontrol1.getparent
thisform.olecontrol1.refresh
Where thisform.picture1 and thisform.pictur2 are ctCLip olecontrol, Olecontrol1 is the ctFormfx.
Gregorio J. Placeres
IT Analyst
Uniform Accounting Network
Auditor of State of Ohio
88 East Broad Street
P.O. Box 1140
Columbus, Ohio 43216-1140

Tel. 614-728-4694

Gregorio_J@MSN.COM

http://www.gjpproductions.com
Previous
Reply
Map
View

Click here to load this message in the networking platform