Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ScrollBar on the grid
Message
 
 
À
24/07/2001 02:59:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00533414
Message ID:
00534358
Vues:
118
>>>Nadya,
>>>I'm afraid I couldn't understand the problem. I should have at least steps to reproduce it.
>>>Yes, sure I haven't seen that. Interestingly though I don't even know a way to make scrollbar stop moving (except blocking click on it).
>>>Cetin
>>>
>>
>>Cetin,
>>
>>I have a table buffering on the grid table. I have bunch of other tables in DE.
>>I have some custom code in grid AfterRowColChange, DoubleClick, Valid and RightClick, but I've added dodefault() in each method. Grid is based on your highlighted class (with couple of modifications specific to this application) and instantiated in run-time. Before I start editting, I can navigate using grid scroll bar - no problem. At some point, I move scroll bar button to the upper position and start editting. I may edit only one field, but once I did it, this scroll button refuses any movement. IOW, I'm trying to move it to the center, but it jumps to the top again and therefore prevents me from moving to another position in a file. I still can move using PageUp/PageDown, but why this scroll button doesn't work?
>>
>
>Nadya,
>I suspect the field you edit is engaged in a kind of relation.
>Another suspect is thisform.refresh call (most possibly in scrolled event). It wouldn't let scrolling (bumping effect could be seen depending on speed of computer) but yet you'd be able to pgup-down.
>Highlighted class has nothing special to cause it, however if I were you I would test with a clean native grid. Put code one-by-one into methods to identify (or maybe a 'set step on' in scrolled might help).
>Cetin

Thanks, Cetin, I'll try to identify the problem. There is no code in Grid.Scrolled event and I don't have any relations set.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform