Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listview on Pageframe
Message
From
22/01/2009 09:45:12
 
 
To
22/01/2009 09:28:37
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01376268
Message ID:
01376285
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform