Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From Taiwan Message, Fail in Record # 253!! Oh My God...
Message
From
26/02/1998 11:20:51
 
 
To
26/02/1998 11:15:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00081373
Message ID:
00081401
Views:
23
>>>Someone in Taiwan Homepage state that:
>>>
>>>Either ListBox or Combox contain error when reading # 253 Record??
>>>
>>>Is it a Bad Luck Number on VFP? Hope it is not a BUG!
>>
>>Yes, it's a bug. It was reported in MS Knowledge Base, and here too. I've never seen it, but took measures not to use List/Combo for higher number of items.
>
>Ed,
>This has nothing to do with this problem. But while Ihave you to reply to. You had an example of code that would simulate locking a column in a grid when scrolling to the right and left. Could I get that again?
>Thanks
>Robert

>****UT Search *****
>>Is it possible to lock the first column of a grid so that it always stays visible while scrolling the remaining columns
> left and right? I know this can be done in Excel, but I can't seem to find how to do it with a VFP grid.
>
> If you have time and patience, you can play with this two snippets:
>
> **** Grid.Scrolled event
> LPARAMETERS nDirection
> if thisform.blockscroll=.t.
> return
> endif
> thisform.blockscroll=.t.
> do case
> case this.column1.columnorder=this.leftcolumn
> case this.column1.columnorder<=this.leftcolumn-1
> for n=this.column1.columnorder+1 to this.leftcolumn-1
> this.column1.columnorder=n
> endfor
> this.doscroll(4)
> this.refresh
> case this.column1.columnorder>this.leftcolumn
> for n=this.column1.columnorder-1 to this.leftcolumn step -1
> this.column1.columnorder=n
> endfor
> this.column1.setfocus
> endcase
> thisform.blockscroll=.f.
> *** Grid.afterrowcolchange event
> this.scrolled
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform