Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem tabbing in grid with checkbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01090526
Message ID:
01092732
Vues:
16
ahh, yeah I've had that too, it was pretty anoying as I couln't select a row when clicking on a non editable cell, but that was only when I di it by setting the control to disabled (enabled=.f. I think). however I fixed this by keeping it enabled but setting it to readonly in the data properties.

not sure if that works for checkboxes though, all mine are editable, it's only some textboxes that are not.

if you find it's something along these lines you may have to resort to a little code in the click or changed event if readonly doesn't solve it.

good luck.

Ken.

>I checked all that once, and yes, that is the case. However, I'll go ahead and check again because I've got nothing better to do <g> (and I don't trust myself enough to say that I didn't overlook something).
>
>Our grid is non-editable, which doesn't keep me from tabbing into any other cells but would that keep us from tabbing into cells with check boxes?
>
>Thanks for your input!
>
>Rodd
>
>>have you deleted the textbox which was in the cell?
>>
>>I found when adding checkboxes that I had to add them first then select the textbox they shared the cell with in the properties dialog, and delete it.
>>
>>also (as I guess you have done) ensure that it's tab index is set and that it is tab enabled.
>>
>>
>>
>>>We have quite a few grids in our system where we've used checkboxes in the grid to display logical fields. However, we find that when using the tab key to move through the columns of the selected row, the checkbox cells never "get focus" ... they never become the selected cell.
>>>
>>>The problem with this is that in certain instances, if the checkboxes land just right, our users are unable to tab over to cells that aren't fitting on the screen.
>>>
>>>I tried setting the tabindex value of the checkbox to 1 but that did not seem to help. Any ideas?
>>>
>>>Thanks in advance.
>>>
>>>Rodd
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform