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:
00534619
Vues:
15
Cetin,

A little bit more info about this problem: I can click on scrollable area and grid scrolls, I can move scroll button to the bottom position and it works. However, if I change at least one record and try to move this button to the middle, it resists. Once I saved/reverted the changes, I'm able to move it again.

>>>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
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform