🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.basic.visual.database
2 messages
2 total messages Started by David M�ndez Thu, 11 Mar 2004 19:41
How can I prevent column selection on header click and row selection ?
#92
Author: David M�ndez
Date: Thu, 11 Mar 2004 19:41
16 lines
1770 bytes
Hi!!

I have 2 questions:

1. When I click DATAGRID header all the column is selected, I need to
prevent this.

2. I want ROW selection programatically, how can I make it?

thanks.

-- 
Eng. David M�ndez
Bogota, Colombia, South America
email: davigre@hotmail.com
alt.: davigre@hotpop.com
Re: How can I prevent column selection on header click and row selection ?
#93
Author: Randy Day
Date: Fri, 12 Mar 2004 07:44
32 lines
2055 bytes
"David M�ndez" wrote:
> 
> Hi!!
> 
> I have 2 questions:
> 
> 1. When I click DATAGRID header all the column is selected, I need to
> prevent this.

Is the header considered row 0? 
If so, this might work; put the 
following in the grid entercell()
event

if grid.row=0 then grid.row=1

This should prevent the header 
from being selected.

> 
> 2. I want ROW selection programatically, how can I make it?

grid.row=1

> 
> thanks.
> 
> --
> Eng. David M�ndez
> Bogota, Colombia, South America
> email: davigre@hotmail.com
> alt.: davigre@hotpop.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads