Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox in grid; Read Only? -why?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00698969
Message ID:
00699766
Vues:
22
Try...
SELECT (grid.RecordSource)
* Add column
* Add combo in column
* Set ControlSource on column
MartinJ

>I suppose you've checked the obvious. The grid and the grid column are both read/write?
>
>Alan
>
>>Thanks MartinJ, However I have tried that, several times, and in several methods with no change in results.
>>
>>I appreciate your assistance, but am still looking...
>>
>>Steve Miller
>>
>>
>>
>>After adding combo in column, set property ControlSource again.
>>
>>MartinJ
>>
>>>Thanks George,
>>>
>>>However I have tried setting the combo box's read only property to .f. in it's gotfocus method but somehow the control is set back to readonly at run time!
>>>
>>>I have been unable to find any docoumentation to explain this behaviour.
>>>
>>>Still Looking...
>>>Steve Miller
>>>
>>>
>>>
>>>>I'm designing a form with a grid containing job assignements for a given period the source is a cursor from a select command in the form's load method. one column contains a combo box containing a list of the employees assigned to the job using as it's source a differnet cursor also from a select statment in the form's load method with a where clause to the jobid.
>>>>
>>>>I can not seem to get the combo box to open it's list! When clicking on the combo box drop down button, I get a notice in the status bar that the control is read only... and when checking in the debuger it indeed is, but is not set that way anywhere I can find, in fact attempts to set it otherwise are not sucessfull.
>>>>
>>>>I'm sure some of you have run across this, and I'm missing something simple but I've spent a couple of days on this with no luck... any advice please!
>>>>
>>>>Thanks for your Attention
>>>>Steve Miller
>>>>Grand Haven, MI
>>>
>>>Sounds similar to a problem that I had with a check box that was programmatically added to the grid. The work-around was to explicitly set the ReadOnly property to .F.
>>>George
>>>
>>>Ubi caritas et amor, deus ibi est
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform