[Gambas-user] Change Gridview.mode programmatically

charlesg charles at ...1784...
Mon Aug 9 08:10:31 CEST 2010




charlesg wrote:
> 
> I can change a gridview with mode = multiple to single  with:
> '----------------------------
> Public Sub radbutSingle_Click()
>   GridView1.mode = 1
> End
> '----------------------------
> and it works but I cannot do it the other way round. i.e. if the mode is
> single then:
> '----------------------------
> Public Sub radbutMultiple_Click()
>   GridView1.Mode = 2
> End
> '----------------------------
> has no effect. Is this right?
> 

Is it natural to make things more complicated than they need to be or is it
just me?:blush::blush:

I will use a multi-select gridview and treat one with only one selected line
as the special case I need.

thks anyway.


-- 
View this message in context: http://old.nabble.com/Change-Gridview.mode-programmatically-tp29379998p29384998.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list