Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Flex Grid Sorting


Message #1 by "Grant McFarlane" <Grant@c...> on Tue, 11 Dec 2001 14:18:52 +1300
Well I'll be :) it's the simple things that i miss.

That worked perfectly Marco, Cheers :)

G

-----Original Message-----
From: Marco Straforini [mailto:marco.straforini@c...]
Sent: Tuesday, 11 December 2001 14:22
To: professional vb
Subject: [pro_vb] RE: Flex Grid Sorting


Grant,

in your click (or mousedown) event, use the .MouseRow property instead
of
.Row
This always gives you the position of the mouse, not of the selection.

m.


-----Original Message-----
From: Grant McFarlane [mailto:Grant@c...]
Sent: Monday, December 10, 2001 5:19 PM
To: professional vb
Subject: [pro_vb] Flex Grid Sorting


Hi All,

I'm trying to sort a flexgrid. I've got a single fixed row (row 0) at
the top, and i want to be able to click on it to sort. Of course if row
0 is fixed, you click on it and the code says you clicked row 1, so row
1 sorts the grid if it's clicked. But my problem is is i want to be able
to double click items that would be in row 1, and yeah, it works, but it
also reorders the entire grid :/ I tried setting no fixed rows, changing
colours etc to make it pretty, but then i can't resize the columns....
if it's not one thing it's another heh.

Any thoughts?

Grant McFarlane

########################################################################
####
#########
This e-mail message contains information that is c0nfidential and which
may
be subject
to legal privilege. If you are not the intended recipient, you must not
peruse, use,
pass on or copy this message. If you have received this message in
error,
please
telephone us (collect) and return the original message to us by e-mail.
DISCLAIMER The
views and opinions expressed in this e-mail are my own and do not
necessarily represent
the views of Computer Brokers (Auckland) Ltd. NOTE All prices are
exclusive
of GST,
freight and installation and are subject to change without notice. E&OE.
It
is a
condition of the sale of all goods and services that the Consumer
Guarantees
Act 1993
will not apply to any goods or services acquired for business purposes.
########################################################################
####
#########


#########################################################################
############
This e-mail message contains information that is c0nfidential and which m
ay be subject
to legal privilege. If you are not the intended recipient, you must not p
eruse, use,
pass on or copy this message. If you have received this message in error,
=20please
telephone us (collect) and return the original message to us by e-mail. D
ISCLAIMER The
views and opinions expressed in this e-mail are my own and do not necessa
rily represent
the views of Computer Brokers (Auckland) Ltd. NOTE All prices are exclusi
ve of GST,
freight and installation and are subject to change without notice. E&OE. 
It is a
condition of the sale of all goods and services that the Consumer Guarant
ees Act 1993
will not apply to any goods or services acquired for business purposes.
#########################################################################
############

  Return to Index