Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Column Focused - Please Help!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Column Focused - Please Help!

 Post Reply Post Reply
Author
Message
vaussenatf View Drop Down
Newbie
Newbie
Avatar

Joined: 24 May 2006
Location: France
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote vaussenatf Quote  Post ReplyReply Direct Link To This Post Topic: Column Focused - Please Help!
    Posted: 10 July 2011 at 10:51am
Hi everybody
I'm using report control to show to nurses medical information about patients.
Each column represent hour during day.
I've freeze the first 5 columns that representing patients and I would like (in time fonction) focused column that represent the actual time.
 
Example : if we're 4 O'Clock P.M. i would like that report control focused at this column ..(shown in the picutre)
 
I tried to use ReportControl.Navigator with the following code but it didn't work :
 
 
With rcGrid
    .FreezeColumnsCount = 5
    .Populate
    If nodeLevel = 3 And .Rows.count > 0 Then
       
        .Navigator.CurrentFocusInHeadersRows = True
        .Navigator.MoveToRow .SelectedRows(0).Index
        .Navigator.MoveToColumn Val(Split(c_periode, "-")(0)), True
        .Navigator.BeginEdit
    End If
    .Populate
    .SelectedRows.DeleteAll
End With
 
Thanks by advance
Regards
 
 
fabiofrance
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 12 July 2011 at 12:52pm
Hi,
 
There's a lot possible but you have to be more specific Wink
 
How do you want to show user which column is active? Or do you need to "scroll" to active column , right after patient info? Is the user able to edit 'cells' (after or before) when a column is inactive?
 
Thanks
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
vaussenatf View Drop Down
Newbie
Newbie
Avatar

Joined: 24 May 2006
Location: France
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote vaussenatf Quote  Post ReplyReply Direct Link To This Post Posted: 12 July 2011 at 12:55pm
Hello,
Thanks for your answer
I would like just scroll to the column...
thank you very much
fabiofrance
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.