Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A checkbox in GRID
Message
De
07/10/1999 11:26:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/10/1999 10:16:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00273673
Message ID:
00273732
Vues:
30
>Hi,
> How could I center my checkbox in a grid?
> I am developing security module at this moment. I key in all of my module in a table and let user to assign user's right through a grid. I place checkbox in each relevant column for tick or untick.
>
>Module Access Read Write
>Member Registration .T. .F.
>
>I can just easily let user to grant or not grant the right of each module using the table structure above. I faced a problem when I don't allow user to assign the right of particular item (e.g. write field is empty that meant not available in member registration for example). How do I disable the relevant checkbox if the value is empty?
>
>Thank you


John,
Grids accept container as a control. You could design a container with code to center in its init. Also you could easily disable it in container ie: gotfocus.
PS: Checkboxes also has a third value (2) which is available programmatically. You could just set it to 2 and when event to Value # 2 :) Or in container you could dynamically add-subtract checkboxes.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform