Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From Taiwan Message, Fail in Record # 253!! Oh My God...
Message
De
26/02/1998 20:45:40
 
 
À
26/02/1998 11:20:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00081373
Message ID:
00081593
Vues:
21
>>>>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

Hey, Seem Something Wrong if User type {Shift+Tab}
The Problem is at the right most item press {Shift+Tab}
The Block Column got Focus!! (although 2nd right most Column is shown!)
Another thing is if the column such as description is so width..
click right scroll will not make scroll...
Anyway, Thanks a Lot. Quite interest Coding!! ^_^"
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform