Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optiongroup in a grid
Message
De
07/05/2000 08:12:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Optiongroup in a grid
Divers
Thread ID:
00367076
Message ID:
00367076
Vues:
126
Hi, i'm a beginner at vfp please help me if you can. I've added an optiongroup in a grid with the following commands.

WITH THISFORM.grid2.column2
.ADDOBJECT('optgrp','optiongroup')
.CONTROLSOURCE=lifecard2.attend
.CURRENTCONTROL = 'optgrp'
.optgrp.buttoncount = 3
.optgrp.buttons (1).caption = 'A'
.optgrp.buttons (2).caption = 'B'
.optgrp.buttons (3).caption = 'C'
.optgrp.buttons (1).left = 10
.optgrp.buttons (1).top = 10
.optgrp.buttons (2).top = 10
.optgrp.buttons (2).left = 50
.optgrp.buttons (3).left = 90
.optgrp.buttons (3).top = 10
.optgrp.VISIBLE=.T.
.sparse = .f.
ENDWITH

there seem to be a problem with it. When i run the form, no option button has been selected although there is values from 1-3 inside the table. When i clicked on them, the values of the field attend in table lifecard do not change and remains the same value. Had been trying to solve this for quite some time, help will be greatly appreciated. Thanks in advance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform