Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Move by splitbar and column visible=.f. with grids
Message
From
07/04/2005 11:06:51
 
 
To
07/04/2005 10:57:07
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01002174
Message ID:
01002307
Views:
16
>Thanks again. My grids was becoming soup (a Turkish idiom) before that...
>
>>
>>btw, what adaptions did you need to do ?
>
>Actually not exactly am adaptation. I assume you put showme... methot in your grid's class, I put it in my test form and change "this" to this._grid1....
>
>>
>>and is inlist(m.nDirecion, 6, 7) needed ?
>
>I didn't do any changes about that. Either you didn't send me inlist function..


look at the comments in the scrolled() of message#1002200 replicated below

this
** scrolled
LPARAMETERS nDirection

    ** I would first try with
    =m.this.ShowMeProperly()

    ** next, if this works, add inlist(m.nDirection, 6, 7)
    && =inlist(m.nDirection, 6, 7) and m.this.ShowMeProperly()
would become
** scrolled
LPARAMETERS nDirection

     =inlist(m.nDirection, 6, 7) and m.this.ShowMeProperly()
to indicate that it is only to be executed when there's been a click in the horizontal scrollbar


Oh,

You may add that to your grid class and have a property on the grid to indicate whether there are any columns that are not visible, ie
** scrolled
LPARAMETERS nDirection

     =m.this.I_Have_Columns_That_are_not_visible and inlist(m.nDirection, 6, 7) and m.this.ShowMeProperly()
And we use that expression too over here: It is a soup = it is messed up
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform