Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Position of Child Form Record
Message
From
27/10/2005 07:34:19
 
 
To
27/10/2005 06:53:09
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:
01062570
Views:
36
>>>>The trick I referred to, was from my memory of a trick I saw in Kilofox or Megafox, but I was not able to find it in the book when I looked for it last night. It may be that you must add one more line, like Locate or something. Hopefully Marcia will see this, and fill in the gaps. :-)
>>>
>>>I saw it here from the message by Walter Meester couple of years ago. We later implemented it in our grid class with a separate method LocateRecordOnTop
>>>
>>>
>>>*--------------------------------------------------------------------------
>>>* -- NSL 3/2/00
>>>* -- Added this method per Nadya's request
>>>* -- It is not automatically called but is available if the user would like to use.
>>>* -- It is intended to be called on return from the search button to place the intended record
>>>* -- at the top of the grid.
>>>* -- NSL 10/10/01  Nadya wanted to be sure that Walter Meester is appropriately credited for this change
>>>*--------------------------------------------------------------------------
>>>
>>>thisform.lockscreen=.t.
>>>nHeight = this.height
>>>this.height = this.headerheight + this.rowheight
>>>this.refresh
>>>this.height=nHeight
>>>thisform.lockscreen=.f.
>>>
>>
>>try this with this.headerheight + this.rowheight < 20 !
>
>I use this for minimum grid height
>
>return (     this.HeaderHeight  ;
>			+ this.GridLineWidth ;
>			+ iif( inlist(this.ScrollBars, SCROLLBARS_HORIZONTAL, SCROLLBARS_BOTH), ;
>									sysmetric(SYSMETRIC_HSCROLLBARHEIGHT), ;
>									2 ;
>						) ;
>				)
>
this is not correct.
try with:
HeaderHeight = 0
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform