Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reversing text in editbox in a grid
Message
De
01/08/2006 10:33:27
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
01/08/2006 02:55:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01141577
Message ID:
01142098
Vues:
16
>>>>I closed ALL other windows (including the command and others) and it still happens that way.
>>>
>>>it is the Form's PAINT that reset the editbox's SelStart.
>>>
>>>Try to scroll the grid with MouseWheel,scroller ...
>>>
>>>With Sparse = .T. it don't happen.
>>>
>>>It is a bug for me.
>>
>>Definitely. And even weirder - I added a parameter to my column class (.prg based) to not kill the original .text1, unbound the column, set the .text1.controlsource="=(alltrim(alias.memofield))", and now I'm getting blanks outside the current cell, and in the current cell it types blanks whatever I type in the editbox, but when I come back to the cell, what I typed is actually there.
>>
>>Well, still not too late to just rearrange the table and have just character fields instead of the memos... but I'll surely be on the watch for this behavior, if I ever happen to need an editbox in the grid.
>
>Of course, a workaround exists:
>- add two editboxes to the column: EBEdit and EBShow
>- on the active row, set CurrentControl="EB1" ( uses DynamicCurrentControl ... )
>
>But, it is not so simple as it appears.

You mean the inactive current control should be a readonly editbox? I can try that, no problem.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform