Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Position of Child Form Record
Message
From
25/10/2005 03:20:14
 
 
To
25/10/2005 02:28:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01061639
Message ID:
01061757
Views:
20
>>Hi all,
>>
>>I have a form with two grids, a parent and a child.
>>
>>When I move within the parent grid the child grid moves accordingly. However, the position of the "found" child record displays as the fifth row of its grid.
>>
>>How do I programmatically make the "found" record appear in the first row of the child grid?
>>
>>Thanks
>>Vince
>
>with resize way:
>
>thisform.LockScreen = .T.
>PRIVATE height
>height= OBJTOCLIENT(grid1,4)
>grid1.height = 1+m.height-OBJTOCLIENT(grid1.columns[1],4)
>grid1.Refresh
>grid1.height = m.height
>thisform.LockScreen = .F
>
Thank you, Fabio, I knew there were something missing in my code, namely the Refresh line.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform