|
-
October 28th, 1999, 01:44 AM
#1
How to trap Header Click in MsFlexGrid ?
Hi,
I am using MsFlexGridcontrol 6.0. How can I trap the Column Selected when user clicks on the Header of the Grid.
Regards
K. Prasad
-
October 28th, 1999, 03:54 AM
#2
Re: How to trap Header Click in MsFlexGrid ?
'tab1 is the name of the MsFlexGridControl
private Sub tab1_Click()
Dim ColUserSelect as Long
Dim RowUserSelect as Long
Dim TextofCell as string
TextofCell = tab1.Text
ColUserSelect = tab1.Col
RowUserSelect = tab1.Row
...
...
End sub
-
October 28th, 1999, 04:17 AM
#3
Re: How to trap Header Click in MsFlexGrid ?
FlexGrid.Col and FlexGrid.Row will ONLY contain the column/row id of the first column/row after FixedColumns/Rows number..ie it is the first "cell".
Use MouseRow and MouseCol in the Click event to get the exact position.
For ordinary cells MouseRow = Row & MouseCol = Col , but for header/fixed cells they would be different. Atleast this is the case with Flexgrid that comes with vb 5.0
RK
-
October 28th, 1999, 04:43 AM
#4
Re: How to trap Header Click in MsFlexGrid ?
Thanx Ravi Kiran,
It worked out for my application...
If u don't mind I have One more Query .. Like I am using MAPI 6.0 Controls With Microsoft Exchange for developing Email Application.. Using this I am not able to retrieve the information present in Folders like Outbox and Sentbox whereas Inbox I am able to access.. How can I achieve this using MAPI Controls.. Before this I was using Collaboration Data Objects where everything was available.. But our system should be developed using these Controls..
Can u just let me know if u have any idea for my problem.
Regards
Prasad K
[email protected]
Programmer Analyst
Nucon Marketing & services Pvt Ltd
Banjara Hills
HYDERABAD
INDIA
-
October 28th, 1999, 05:03 AM
#5
Re: How to trap Header Click in MsFlexGrid ?
I say your other post abt the same subject.
Sorry i have no idea about MAPI controls. Try to look into MSDN, about how to use them I am sure you will find some docs.
Lother is a good guy on these things!!
RK
-
October 28th, 1999, 05:14 AM
#6
Re: How to trap Header Click in MsFlexGrid ?
Sorry Ravi Kiran For Calling upon u once again!!
By any Chance do u have Lothar Haensler Mail-Id..
And
May I have ur Email-Id also
Regards
Prasad K
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|