Another way to do it is to:
either leave both controls in the column, ie the textbox and the combo, and 
use the curentcontrol property of the column
(this you can do visually)
or put code in the init of the grid such as

this.column1.removeobject('combobox1')
this.column1.currentcontrol='text1'

Rafael Copquin

----- Original Message ----- 
From: "Sytze de Boer" <[email protected]>
To: <[email protected]>
Sent: Monday, August 10, 2009 7:22 PM
Subject: Re: VFP9- Remove Combo from grid


> Richard, your help is appreciated
> It took me a little while to work out what the frame is but found it
> Great one
>
> Sytze
>
>
>
> On Tue, Aug 11, 2009 at 10:01 AM, Richard Kaye <[email protected]> wrote:
>
>> Does TEXT1 still exist in your grid? If not, you may need to add it back
>> first.
>>
>> Assuming you want to do this in the form/class designer, bring up the
>> property sheet and find the control in the grid you want to delete. Click
>> back on the frame of the form/class designer but don't click on the form
>> container itself or any of its contained controls. Press the delete key.
>>
>> rk
>>
>>
>> -----Original Message-----
>> From: [email protected] [mailto:[email protected]]
>> On Behalf Of Sytze de Boer
>> Sent: Monday, August 10, 2009 5:55 PM
>> To: [email protected]
>> Subject: VFP9- Remove Combo from grid
>>
>> Hi folk
>>
>> At some time or another, I placed a combo in a grid
>> Now I don't want to use this and use the TEXT1 instead
>> How do you get rid of the combo in the grid ?
>>
>>
>>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/a1d2903b1ebf499c911c87e7c9c6e...@rafaelnueva
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to