Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 version of PreVFP historic code
Message
De
09/07/2004 16:53:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00922398
Message ID:
00922740
Vues:
15
This message has been marked as the solution to the initial question of the thread.
I think Hilmar is right; although I don't think I would call it "more sophisticated", the code below does something similar to yours.
USE cname
oSel = CREATEOBJECT("mySelect")
oSel.Visible = .T.
READ EVENTS

WAIT WINDOW cname+cextra+STR(iid)

DEFINE CLASS mySelect AS Form

	ShowWindow = 1
	WindowType = 0
	Height = 60
	Width = 220
	Caption = "Select Data Folder"
	MaxButton = .F.
	MinButton = .F.

	ADD OBJECT myListbox AS Listbox WITH ;
		Left = 0,;
		Top = 0,;
		Height = 60,;
		Width = 220,;
		ColumnCount = 3,;
		ColumnWidths = '70,64,52',;
		FirstElement = 1,;
		NumberOfElements = 0,;
		RowSource = 'cname,cextra,iid',;
		RowSourceType = 6

	FUNCTION Destroy
		CLEAR EVENTS
	ENDFUNC

ENDDEFINE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform