Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBI-Tech problem in Ctimage
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00658773
Message ID:
00808267
Vues:
19
Frank:

Do you ever use ctFormFx of DBI. I am trying to change the picture programatically using this code and did not change the picture.
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
	THISFORM.Olecontrol1.picPosition = MainDef.mbackpos
		CASE MAINDEF.MBACKGROUN = 2	
	THISFORM.Olecontrol1.PICTURE=thisform.picture2
	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
Thisform.picture1 and 2 are ctclip control.

Any Guess?
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform