Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listview on Pageframe
Message
De
22/01/2009 09:45:12
 
 
À
22/01/2009 09:28:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01376268
Message ID:
01376285
Vues:
24
>Hi,
>Please give a MessageID or otherwise indicate what the problem is (for those who dont know about an AcitveX listview problem/bug)
>Regards,
>
Koen

ok... if we use a listview under a page/pageframe if I do something as... what is running here it is almost as:
With Thisform.Pageframe1.Page1.mylistview
    .listitems.Clear
    Select myalias
    SCAN 
	loobj  	 = .listitems.Add
	loobj.Text  = field1
	loobj.Tag  = ALLTRIM(STR(RECNO("myalias")))
	loobj.SubItems(1)= field2
    endscan
    .Refresh  && <--- doesn't work
   KEYBOARD '{TAB}'  && <-- when listview get the focus the data appear
endwith
Instead of keyboard command, we can use:
loObj                    = ThisForm.Pageframe1.Page1.mylistview
lnTop                    = Objtoclient(loObj,1) + 35
lnLeft                   = Objtoclient(loObj,2) + 120
Mouse Click At (lnTop),(lnLeft) Pixels Window (thisform.Name)
HTH
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform